summaryrefslogtreecommitdiff
path: root/lib/libc/sys/pwritev.c
AgeCommit message (Collapse)Author
2016-05-07Use a Thread Information Block in both single and multi-threaded programs.Philip Guenther
This stores errno, the cancelation flags, and related bits for each thread and is allocated by ld.so or libc.a. This is an ABI break from 5.9-stable! Make libpthread dlopen'able by moving the cancelation wrappers into libc and doing locking and fork/errno handling via callbacks that libpthread registers when it first initializes. 'errno' *must* be declared via <errno.h> now! Clean up libpthread's symbol exports like libc. On powerpc, offset the TIB/TCB/TLS data from the register per the ELF spec. Testing by various, particularly sthen@ and patrick@ ok kettenis@
2015-09-11Use PROTO_NORMAL() on __syscall to go direct, adjusting the declarationPhilip Guenther
to eliminate some casts. Retire some uses of old-style STUB* macros where superseded by namespace.h bits tweaks and ok deraadt@
2011-10-16Make consistent the syscall stubs for the syscalls that got specialPhilip Guenthe
handling to fix up the alignment of 64bit arguments so that they do the same dance where _thread_sys_FOO is the real stub and FOO is a weak alias. For some of them, this is needed for cancellation handling. From discussions with fgsch@, ok millert@
2005-08-08zap remaining rcsid.Marc Espie
Kill old files that are no longer compiled. okay theo
2005-04-06Make __syscall prototypes more consistent. Use register_t as theTodd C. Miller
return value for system calls that return size_t or ssize_t and quad_t for those that return off_t.
2003-06-11ansification; checked by pvalTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
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
2001-05-05Add missing __syscall() proto to fix pread() & friends on big endianTodd C. Miller
machines. Found by me, solved by Theo ;-)
2000-04-20p{read,write}{,v} man pagesTheo de Raadt