nut/include/unistd.h File Reference


Detailed Description

Miscellaneous function declarations.

 *
 * $Log: unistd.h,v $
 * Revision 1.9  2009/03/05 22:16:57  freckle
 * use __NUT_EMULATION instead of __APPLE__, __linux__, or __CYGWIN__
 *
 * Revision 1.8  2008/04/01 13:34:20  haraldkipp
 * Fixed Unix emulation build.
 *
 * Revision 1.6  2008/01/31 09:15:21  haraldkipp
 * Added sleep() prototype.
 *
 * Revision 1.5  2005/04/19 15:46:45  freckle
 * added #include <compiler.h> as the implicit ordering is not sufficient
 * on our red hat machines and the cruisecontrol build fails
 *
 * Revision 1.4  2005/03/24 14:32:02  freckle
 * added creation of include/unistd_orig.h to configure
 * Added NUT_ wrapper for nut's unistd.h functions. Use <unistd_orig.h>
 * instead of "/usr/include/unistd.h". Relevant for unix emulation only.
 *
 * Revision 1.3  2005/02/23 13:42:28  freckle
 * Correctly include /usr/include/unistd.h for unix emulation
 *
 * Revision 1.2  2005/02/21 11:08:45  olereinhardt
 * For unix plattforms I added #include "/usr/include/unistd.h" since some
 * functions needed for unix_nutinit.c are missing in this file...
 *
 * Revision 1.1  2005/02/05 20:37:17  haraldkipp
 * Peanut added
 *
 *
 * 

#include <compiler.h>

Defines

Access functions
#define F_OK   0
 Test for existence of file.
#define R_OK   0x04
 Test for read permission.
#define W_OK   0x02
 Test for write permission.
#define X_OK   0x01
 Test for execute or search permission.

Functions

__BEGIN_DECLS int access (CONST char *path, int what)
long lseek (int fh, long pos, int whence)
int rmdir (CONST char *path)
unsigned int sleep (unsigned int)
int unlink (CONST char *path)


Generated on Wed Apr 29 11:12:30 2009 for BTnut System Software by doxygen 1.5.1
!!! Dieses Dokument stammt aus dem ETH Web-Archiv und wird nicht mehr gepflegt !!!
!!! This document is stored in the ETH Web archive and is no longer maintained !!!