Category : OS/2 Files
Archive   : EMXDEV8F.ZIP
Filename : UNISTD.H

 
Output of file : UNISTD.H contained in archive : EMXDEV8F.ZIP
/* unistd.h (emx+gcc) */

#if !defined (_UNISTD_H)
#define _UNISTD_H

#if defined (__cplusplus)
extern "C" {
#endif

#if !defined (NULL)
#define NULL ((void *)0)
#endif

#if !defined (STDIN_FILENO)
#define STDIN_FILENO 0
#define STDOUT_FILENO 1
#define STDERR_FILENO 2
#endif

#if !defined (F_OK)
#define F_OK 0
#define X_OK 1
#define W_OK 2
#define R_OK 4
#endif

#if !defined (SEEK_SET)
#define SEEK_SET 0
#define SEEK_CUR 1
#define SEEK_END 2
#endif

unsigned int getuid (void);
unsigned int geteuid (void);
unsigned int getgid (void);
unsigned int getegid (void);
char *getlogin (void);

#if defined (__cplusplus)
}
#endif

#endif /* !defined (_UNISTD_H) */


  3 Responses to “Category : OS/2 Files
Archive   : EMXDEV8F.ZIP
Filename : UNISTD.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/