mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
5cf53cc208
2005-01-06 Ulrich Drepper <drepper@redhat.com> * misc/sys/cdefs.h: Define __wur. * libio/stdio.h: Use __wur for a number of interfaces. * posix/unistd.h: Likewise. * posix/regex_internal.c (free_state): Free word_trtable.
26 lines
557 B
Plaintext
26 lines
557 B
Plaintext
<unistd.h>:
|
|
|
|
lssek: Probably should be __wur but lseek(fd,SEEK_SET,0) will succeed if
|
|
the descriptor is fine.
|
|
lseek64: same
|
|
|
|
setuid: will always succeed given correct privileges, so there might
|
|
be places which don't check for it.
|
|
setreuid: same
|
|
seteuid: same
|
|
setgid: same
|
|
setregid: same
|
|
setegid: same
|
|
setresuid: same
|
|
setresgid: same
|
|
|
|
|
|
<stdio.h>:
|
|
|
|
setvbuf: if stream and buffer are fine and other parameters constant,
|
|
it cannot really fail.
|
|
fseek: see lseek
|
|
fseeko: likewise
|
|
fgetpos: similarly
|
|
fsetpos: likewise
|