2001-02-08 Edward M. Lee <tailbert@yahoo.com>
* libc/include/grp.h: add prototype for initgroups. * libc/include/stdio.h: fix prototype for putw. * libc/include/sys/signal.h: add prototype for killpg. * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN. * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp, vhangup and remove duplicate sysconf prototype.
This commit is contained in:
parent
889109ab1f
commit
8915d10a26
|
@ -1,3 +1,12 @@
|
|||
2001-02-08 Edward M. Lee <tailbert@yahoo.com>
|
||||
|
||||
* libc/include/grp.h: add prototype for initgroups.
|
||||
* libc/include/stdio.h: fix prototype for putw.
|
||||
* libc/include/sys/signal.h: add prototype for killpg.
|
||||
* libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
|
||||
* libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
|
||||
vhangup and remove duplicate sysconf prototype.
|
||||
|
||||
2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
|
||||
|
||||
* libc/sys/rtems/sys/types.h: Removed.
|
||||
|
|
|
@ -75,6 +75,7 @@ void setgrfile (const char *);
|
|||
#ifndef _XOPEN_SOURCE
|
||||
char *group_from_gid (gid_t, int);
|
||||
int setgroupent (int);
|
||||
int initgroups (const char *, gid_t);
|
||||
#endif /* !_XOPEN_SOURCE */
|
||||
#endif /* !_POSIX_SOURCE */
|
||||
|
||||
|
|
|
@ -209,7 +209,7 @@ int _EXFUN(fileno, (FILE *));
|
|||
int _EXFUN(getw, (FILE *));
|
||||
int _EXFUN(pclose, (FILE *));
|
||||
FILE * _EXFUN(popen, (const char *, const char *));
|
||||
int _EXFUN(putw, (int, FILE *));
|
||||
int _EXFUN(putw, (int w, FILE *));
|
||||
void _EXFUN(setbuffer, (FILE *, char *, int));
|
||||
int _EXFUN(setlinebuf, (FILE *));
|
||||
#endif
|
||||
|
|
|
@ -147,6 +147,7 @@ int _EXFUN(pthread_sigmask, (int how, const sigset_t *set, sigset_t *oset));
|
|||
changes, then we will need to do something else, perhaps along the
|
||||
lines of <machine/types.h>. */
|
||||
int _EXFUN(kill, (int, int));
|
||||
int _EXFUN(killpg, (pid_t, int));
|
||||
int _EXFUN(sigaction, (int, const struct sigaction *, struct sigaction *));
|
||||
int _EXFUN(sigaddset, (sigset_t *, const int));
|
||||
int _EXFUN(sigdelset, (sigset_t *, const int));
|
||||
|
|
|
@ -124,7 +124,7 @@ int _EXFUN(mkfifo,( const char *__path, mode_t __mode ));
|
|||
int _EXFUN(stat,( const char *__path, struct stat *__sbuf ));
|
||||
mode_t _EXFUN(umask,( mode_t __mask ));
|
||||
|
||||
#if defined(__rtems__)
|
||||
#if defined(__rtems__) || defined(__CYGWIN__)
|
||||
int _EXFUN(mknod,( const char *_path, mode_t _mode, dev_t dev ));
|
||||
int _EXFUN(lstat,( const char *__path, struct stat *__buf ));
|
||||
#endif
|
||||
|
@ -134,15 +134,6 @@ int _EXFUN(lstat,( const char *__path, struct stat *__buf ));
|
|||
int _EXFUN(_fstat,( int __fd, struct stat *__sbuf ));
|
||||
int _EXFUN(_stat,( const char *__path, struct stat *__sbuf ));
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
int _EXFUN(lstat,( const char *__path, struct stat *__buf ));
|
||||
#endif
|
||||
|
||||
#if defined(__rtems__)
|
||||
int _EXFUN(mknod,( const char *_path, mode_t _mode, dev_t dev ));
|
||||
int _EXFUN(lstat,( const char *_path, struct stat *_sbuf ));
|
||||
#endif
|
||||
|
||||
#endif /* !_STAT_H_ */
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -50,6 +50,7 @@ int _EXFUN(getlogin_r, (char *name, size_t namesize) );
|
|||
#endif
|
||||
char _EXFUN(*getpass, (__const char *__prompt));
|
||||
size_t _EXFUN(getpagesize, (void));
|
||||
pid_t _EXFUN(getpgid, (pid_t));
|
||||
pid_t _EXFUN(getpgrp, (void ));
|
||||
pid_t _EXFUN(getpid, (void ));
|
||||
pid_t _EXFUN(getppid, (void ));
|
||||
|
@ -83,6 +84,7 @@ int _EXFUN(seteuid, (uid_t __uid ));
|
|||
#endif
|
||||
int _EXFUN(setgid, (gid_t __gid ));
|
||||
int _EXFUN(setpgid, (pid_t __pid, pid_t __pgid ));
|
||||
int _EXFUN(setpgrp, (void ));
|
||||
pid_t _EXFUN(setsid, (void ));
|
||||
int _EXFUN(setuid, (uid_t __uid ));
|
||||
unsigned _EXFUN(sleep, (unsigned int __seconds ));
|
||||
|
@ -92,6 +94,7 @@ pid_t _EXFUN(tcgetpgrp, (int __fildes ));
|
|||
int _EXFUN(tcsetpgrp, (int __fildes, pid_t __pgrp_id ));
|
||||
char _EXFUN(*ttyname, (int __fildes ));
|
||||
int _EXFUN(unlink, (const char *__path ));
|
||||
int _EXFUN(vhangup, (void ));
|
||||
/* POSIX 1003.1b-1993 says write() returns ssize_t */
|
||||
#if defined(__rtems__)
|
||||
ssize_t _EXFUN(write, (int __fildes, const void *__buf, size_t __nbyte ));
|
||||
|
@ -144,8 +147,6 @@ int _EXFUN(symlink, (const char *__name1, const char *__name2));
|
|||
#define STDOUT_FILENO 1 /* standard output file descriptor */
|
||||
#define STDERR_FILENO 2 /* standard error file descriptor */
|
||||
|
||||
long _EXFUN(sysconf, (int __name));
|
||||
|
||||
/*
|
||||
* 4.8.1 Get Configurable System Variables, P1003.1b-1993, p. 96
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue