unistd.h (37509) | unistd.h (37566) |
---|---|
1/*- 2 * Copyright (c) 1991, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 35 unchanged lines hidden (view full) --- 44#define STDOUT_FILENO 1 /* standard output file descriptor */ 45#define STDERR_FILENO 2 /* standard error file descriptor */ 46 47#ifndef NULL 48#define NULL 0 /* null pointer constant */ 49#endif 50 51#ifndef _POSIX_SOURCE | 1/*- 2 * Copyright (c) 1991, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 35 unchanged lines hidden (view full) --- 44#define STDOUT_FILENO 1 /* standard output file descriptor */ 45#define STDERR_FILENO 2 /* standard error file descriptor */ 46 47#ifndef NULL 48#define NULL 0 /* null pointer constant */ 49#endif 50 51#ifndef _POSIX_SOURCE |
52#define F_ULOCK 0 /* unlock locked section */ 53#define F_LOCK 1 /* lock a section for exclusive use */ 54#define F_TLOCK 2 /* test and lock a section for exclusive use */ 55#define F_TEST 3 /* test a section for locks by other processes */ | 52#define F_ULOCK 0 /* unlock locked section */ 53#define F_LOCK 1 /* lock a section for exclusive use */ 54#define F_TLOCK 2 /* test and lock a section for exclusive use */ 55#define F_TEST 3 /* test a section for locks by other procs */ |
56#endif 57 58__BEGIN_DECLS 59void _exit __P((int)) __dead2; 60int access __P((const char *, int)); 61unsigned int alarm __P((unsigned int)); 62int chdir __P((const char *)); 63int chown __P((const char *, uid_t, gid_t)); --- 78 unchanged lines hidden (view full) --- 142int getpgid __P((pid_t _pid)); 143int getsid __P((pid_t _pid)); 144char *getusershell __P((void)); 145char *getwd __P((char *)); /* obsoleted by getcwd() */ 146int initgroups __P((const char *, int)); 147int iruserok __P((unsigned long, int, const char *, const char *)); 148int issetugid __P((void)); 149int lchown __P((const char *, uid_t, gid_t)); | 56#endif 57 58__BEGIN_DECLS 59void _exit __P((int)) __dead2; 60int access __P((const char *, int)); 61unsigned int alarm __P((unsigned int)); 62int chdir __P((const char *)); 63int chown __P((const char *, uid_t, gid_t)); --- 78 unchanged lines hidden (view full) --- 142int getpgid __P((pid_t _pid)); 143int getsid __P((pid_t _pid)); 144char *getusershell __P((void)); 145char *getwd __P((char *)); /* obsoleted by getcwd() */ 146int initgroups __P((const char *, int)); 147int iruserok __P((unsigned long, int, const char *, const char *)); 148int issetugid __P((void)); 149int lchown __P((const char *, uid_t, gid_t)); |
150int lockf __P((int, int, off_t)); | 150int lockf __P((int, int, off_t)); |
151char *mkdtemp __P((char *)); 152int mknod __P((const char *, mode_t, dev_t)); 153int mkstemp __P((char *)); 154char *mktemp __P((char *)); 155int nfssvc __P((int, void *)); 156int nice __P((int)); 157int profil __P((char *, int, int, int)); 158int rcmd __P((char **, int, const char *, --- 49 unchanged lines hidden --- | 151char *mkdtemp __P((char *)); 152int mknod __P((const char *, mode_t, dev_t)); 153int mkstemp __P((char *)); 154char *mktemp __P((char *)); 155int nfssvc __P((int, void *)); 156int nice __P((int)); 157int profil __P((char *, int, int, int)); 158int rcmd __P((char **, int, const char *, --- 49 unchanged lines hidden --- |