[BACK]Return to unistd.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / include

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/include/unistd.h between version 1.135.2.3 and 1.136

version 1.135.2.3, 2014/08/20 00:02:05 version 1.136, 2012/11/18 17:41:53
Line 159  extern  int optopt;
Line 159  extern  int optopt;
 #endif  #endif
   
 /*  /*
  * The Open Group Base Specifications, Issue 5; IEEE Std 1003.1-2001 (POSIX)  
  */  
 #if (_POSIX_C_SOURCE - 0) >= 200112L || (_XOPEN_SOURCE - 0) >= 500 || \  
     defined(_NETBSD_SOURCE)  
 #if __SSP_FORTIFY_LEVEL == 0  
 ssize_t  readlink(const char * __restrict, char * __restrict, size_t);  
 #endif  
 #endif  
   
 /*  
  * The Open Group Base Specifications, Issue 6; IEEE Std 1003.1-2001 (POSIX)   * The Open Group Base Specifications, Issue 6; IEEE Std 1003.1-2001 (POSIX)
  */   */
 #if (_POSIX_C_SOURCE - 0) >= 200112L || (_XOPEN_SOURCE - 0) >= 600 || \  #if (_POSIX_C_SOURCE - 0) >= 200112L || (_XOPEN_SOURCE - 0) >= 600 || \
     defined(_NETBSD_SOURCE)      defined(_NETBSD_SOURCE)
 int      posix_fallocate(int, off_t, off_t);  
 int      setegid(gid_t);  int      setegid(gid_t);
 int      seteuid(uid_t);  int      seteuid(uid_t);
 #endif  #endif
Line 271  int  lchown(const char *, uid_t, gid_t) 
Line 260  int  lchown(const char *, uid_t, gid_t) 
 int      lchown(const char *, uid_t, gid_t);  int      lchown(const char *, uid_t, gid_t);
 #endif  #endif
 int      lockf(int, int, off_t);  int      lockf(int, int, off_t);
   #if __SSP_FORTIFY_LEVEL == 0
   ssize_t  readlink(const char * __restrict, char * __restrict, size_t);
   #endif
 void    *sbrk(intptr_t);  void    *sbrk(intptr_t);
 /* XXX prototype wrong! */  /* XXX prototype wrong! */
 int      setpgrp(pid_t, pid_t);                 /* obsoleted by setpgid() */  int      setpgrp(pid_t, pid_t);                 /* obsoleted by setpgid() */
Line 303  ssize_t  pwrite(int, const void *, size_
Line 295  ssize_t  pwrite(int, const void *, size_
  * X/Open Extended API set 2 (a.k.a. C063)   * X/Open Extended API set 2 (a.k.a. C063)
  */   */
 #if (_POSIX_C_SOURCE - 0) >= 200809L || (_XOPEN_SOURCE - 0 >= 700) || \  #if (_POSIX_C_SOURCE - 0) >= 200809L || (_XOPEN_SOURCE - 0 >= 700) || \
     defined(_INCOMPLETE_XOPEN_C063) || defined(_NETBSD_SOURCE)      defined(_INCOMPLETE_XOPEN_C063) || defined(_KERNEL)
 int     linkat(int, const char *, int, const char *, int);  int     linkat(int, const char *, int, const char *, int);
 int     renameat(int, const char *, int, const char *);  int     renameat(int, const char *, int, const char *);
   int     mkfifoat(int, const char *, mode_t);
   int     mknodat(int, const char *, mode_t, uint32_t);
   int     mkdirat(int, const char *, mode_t);
 int     faccessat(int, const char *, int, int);  int     faccessat(int, const char *, int, int);
   int     fchmodat(int, const char *, mode_t, int);
 int     fchownat(int, const char *, uid_t, gid_t, int);  int     fchownat(int, const char *, uid_t, gid_t, int);
 int     readlinkat(int, const char *, char *, size_t);  int     readlinkat(int, const char *, char *, size_t);
 int     symlinkat(const char *, int, const char *);  int     symlinkat(const char *, int, const char *);
 int     unlinkat(int, const char *, int);  int     unlinkat(int, const char *, int);
 #endif  #endif
 #if defined(_INCOMPLETE_XOPEN_C063)  #if defined(_INCOMPLETE_XOPEN_C063) || defined(_KERNEL)
 int     fexecve(int, char * const *, char * const *);  int     fexecve(int, char * const *, char * const *);
 #endif  #endif
   
Line 329  int  dup3(int, int, int);
Line 325  int  dup3(int, int, int);
 void     endusershell(void);  void     endusershell(void);
 int      exect(const char *, char * const *, char * const *);  int      exect(const char *, char * const *, char * const *);
 int      fchroot(int);  int      fchroot(int);
 int      fdiscard(int, off_t, off_t);  
 int      fsync_range(int, int, off_t, off_t);  int      fsync_range(int, int, off_t, off_t);
 int      getdomainname(char *, size_t);  int      getdomainname(char *, size_t);
 int      getgrouplist(const char *, gid_t, gid_t *, int *);  int      getgrouplist(const char *, gid_t, gid_t *, int *);
Line 355  __aconst char *getusershell(void);
Line 350  __aconst char *getusershell(void);
 int      initgroups(const char *, gid_t);  int      initgroups(const char *, gid_t);
 int      iruserok(uint32_t, int, const char *, const char *);  int      iruserok(uint32_t, int, const char *, const char *);
 int      issetugid(void);  int      issetugid(void);
 int      mkstemps(char *, int);  
 int      nfssvc(int, void *);  int      nfssvc(int, void *);
 int      pipe2(int *, int);  int      pipe2(int *, int);
 int      profil(char *, size_t, u_long, u_int);  int      profil(char *, size_t, u_long, u_int);

Legend:
Removed from v.1.135.2.3  
changed lines
  Added in v.1.136

CVSweb <webmaster@jp.NetBSD.org>