OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [sys/] [linux/] [sys/] [fcntl.h] - Rev 207

Compare with Previous | Blame | View Log

/* libc/sys/linux/sys/fcntl.h - File access */
 
/* Written 2000 by Werner Almesberger */
 
 
#ifndef _SYS_FCNTL_H
#define _SYS_FCNTL_H
 
#include <sys/types.h>
#include <linux/fcntl.h>
 
/* --- redundant stuff below --- */
 
#include <_ansi.h>
 
extern int creat _PARAMS ((const char *, mode_t));
extern int _open _PARAMS ((const char *, int, ...));
 
#ifdef __KERNEL_PROTOTYPES
extern int open(const char *pathname, int flags, mode_t mode);
extern int fcntl(int fd, int cmd, long arg);
#else
extern int open _PARAMS ((const char *, int, ...));
extern int fcntl _PARAMS ((int, int, ...));
#endif
 
extern int _fcntl _PARAMS ((int, int, ...));
 
#endif
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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