summaryrefslogtreecommitdiff
path: root/include/unistd.h
AgeCommit message (Collapse)Author
2002-12-03GNU-like getopt_long() from NetBSD with changes by me to supportTodd C. Miller
getopt_long_only(). At some point this should replace the BSD getopt(3) but we are not there yet. While I am here add protection from the multiple getopt() definitions due to conflicting standards.
2002-10-30Add [gs]etres[ug]id(2) syscall to libc and use it in emulating some 4.3BSDTodd C. Miller
functions.
2002-10-25NULL is now 0L so it is the same size as a pointer.Todd C. Miller
OK mickey@ and discussed with deraadt@
2002-09-17uncommit, since it breaks macppc libc. millert and miod have now said theyTheo de Raadt
did NOT approve those for commit. why did mickey feel he was ok to go commiting a set of diffs which had not been passed around and tested by people? we don't know. mickey, have you got something to say for yourself?
2002-09-17move __syscall prototype into unistd.h (like everybody else) and avoid ↵Michael Shalayeff
private protos for it everywhere; millert@ ok
2002-08-30Put sentinel back in.Marc Espie
2002-06-07Backout previous change. Since it requires people to upgrade gcc, we wantMiod Vallat
to give them a larger timeslot to do that. Requested by deraadt@ and various people on icb or vocally.
2002-06-05Use attribute((sentinel)) on functions where it makes sense.Marc Espie
(this will warn if they are used without a terminating NULL pointer. Note *pointer*, very useful for arches where 0 != (void *)0, in size) okay millert@
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-08-07remove redundant __noreturn__ attributes now that __dead is sane for modern gccTodd C. Miller
2000-12-06use __x__ formats for __attribute__ arguments; guenther@gac.eduTheo de Raadt
2000-09-12o add missing getsid() prototypeTodd C. Miller
o fix typo in getsid() that broke getsid(pid) where pid != 0 o cause getsid() and getpgid() to return EPERM if requesting the id of a session/process group not in the current session o check for NULL session in getsid() for exiting processes
2000-07-19from freebsd:Michael Shalayeff
strtofflags/fflagstostr to convert file flags to/from binary from/into a string as used in chflags(1). use u_int32_t instead of u_long (as freebsd does). increase libc minor. millert@ ok.
2000-04-20prototyping for p{read,write}{,v}Theo de Raadt
2000-02-19swapctl 2nd arg is constTheo de Raadt
2000-01-27add IPv6-ready rcmd() friends.Jun-ichiro itojun Hagino
rcmd(): IPv4 only rcmd_af(): af independent ruserok(): af independent iruserok(): IPv4 only iruserok_sa(): af independent
1999-12-16rresvport_af() and bindresvport_af()Theo de Raadt
1999-09-17Be thorough about NULL as __null for C++.Marc Espie
1999-06-11Define NULL to be __null for C++: better quality of implementation.Marc Espie
__null is a magic constant of integral type that converts to a null pointer as should be, but warns for ambiguity when used to resolved an overload between an integral type and a pointer type.
1999-05-22Add swapctl(2) prototype.Tobias Weingartner
1998-11-20Add thread-safety to libc, so that libc_r will build (on i386 at least).David Leonard
All POSIX libc api now there (to P1003.1c/D10) (more md stuff is needed for other libc/arch/*) (setlogin is no longer a special syscall) Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS). Doc some re-entrant routines Add libc_r to intro(3) dig() uses some libc srcs and an extra -I was needed there. Add more md stuff to libc_r. Update includes for the pthreads api Update libc_r TODO
1998-11-19add getpgid() proto; formTheo de Raadt
1998-06-30add mkstemp(char *template, int suffixlen) interfaceTheo de Raadt
1998-05-13change size parameter to size_tTheo de Raadt
1998-04-25readlink() 3rd param is size_t; XPGTheo de Raadt
1998-02-16be more careful for _XOPEN_SOURCETheo de Raadt
1998-02-10more explicit protosTheo de Raadt
1998-02-10move proto to unistd.hTheo de Raadt
1997-12-27Make usleep prototype match manual page and implementationThorsten Lockert
1997-12-22add XPG4.2 lockf; kleinkTheo de Raadt
1997-11-16move proto to sys/stat.h; XPG4.2Theo de Raadt
1997-06-20Add mkdtemp(3)Todd C. Miller
1997-01-26Add lchown() declaration.Jason Downs
1996-12-13fix comments regarding {*path,sys}conf()Theo de Raadt
1996-12-12add quotactlTheo de Raadt
1996-12-09proto getgrouplist()Theo de Raadt
1996-08-25+issetugidTheo de Raadt
1996-08-22Adds rcmdsh() prototype.Todd C. Miller
1996-06-10iruserok() can finally safely use a u_int32_t for the ip addrTheo de Raadt
1996-03-25initgroups(3) 2nd argument should be gid_tThorsten Lockert
1996-03-22sethostid() actually do return a valueThorsten Lockert
1996-01-12proto rfork()Theo de Raadt
1995-12-14from netbsd; profil() fixed for 64 bitTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt