OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [sys/] [linux/] [sys/] [fcntl.h] - Blame information for rev 207

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
/* libc/sys/linux/sys/fcntl.h - File access */
2
 
3
/* Written 2000 by Werner Almesberger */
4
 
5
 
6
#ifndef _SYS_FCNTL_H
7
#define _SYS_FCNTL_H
8
 
9
#include <sys/types.h>
10
#include <linux/fcntl.h>
11
 
12
/* --- redundant stuff below --- */
13
 
14
#include <_ansi.h>
15
 
16
extern int creat _PARAMS ((const char *, mode_t));
17
extern int _open _PARAMS ((const char *, int, ...));
18
 
19
#ifdef __KERNEL_PROTOTYPES
20
extern int open(const char *pathname, int flags, mode_t mode);
21
extern int fcntl(int fd, int cmd, long arg);
22
#else
23
extern int open _PARAMS ((const char *, int, ...));
24
extern int fcntl _PARAMS ((int, int, ...));
25
#endif
26
 
27
extern int _fcntl _PARAMS ((int, int, ...));
28
 
29
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.