summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/pread_write.c
Commit message (Collapse)AuthorAgeFilesLines
* pread and pwrite were broken in several ways:David McCullough2002-08-091-19/+23
| | | | | | | | | | | | | | * pwrite was using the write system call. * SYSCALL_INLINE was only defined for pread and reused by pwrite meaning pwrite did a pread :-). * The kernel pread/pwrite interfaces always take a 64bit value. So the libc versions must do the LONG_LONG_PAIR stuff otherwise the pread/pwrite calls will not work. These guys are working now for SH at least (and I can format my DiskOnChip again ;-)
* Rework syscall handling. Rewrite syscall handlers for x86 and ARM.Eric Andersen2002-07-221-88/+72
| | | | | | Prepare to kill the UNIFIED_SYSCALL option and instead have it be a per arch thing that is either enabled or not for that arch. -Erik
* stupid cut-n-paste bugEric Andersen2002-07-151-5/+5
| | | | -Erik
* Rework pread and pwrite support so it should actually work.Eric Andersen2002-07-151-0/+213
Add support for pread64 and pwrite64. Fixup llseek a bit. -Erik