Displaying 3 results from an estimated 3 matches for "0d8c3b1".
2019 Jan 18
0
[klibc:master] include sys/types.h in more places
...en>google.com>
Link: https://www.zytor.com/pipermail/klibc/2018-February/003976.html
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/klibc/pread.c | 1 +
usr/klibc/pwrite.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/usr/klibc/pread.c b/usr/klibc/pread.c
index 0d8c3b1..1ac3075 100644
--- a/usr/klibc/pread.c
+++ b/usr/klibc/pread.c
@@ -4,6 +4,7 @@
* Some architectures need to wrap the system call
*/
+#include <sys/types.h>
#include <endian.h>
#include <sys/syscall.h>
diff --git a/usr/klibc/pwrite.c b/usr/klibc/pwrite.c
index 691d0e4..1...
2016 Jan 06
0
[klibc:master] Add pread and pwrite 32bit syscall wrappers for parisc
...int sync_file_range,fdatasync,fsync::sync_file_range(int, off_t, off_t, unsigned int);
<?> int splice(int, off_t *, int, off_t *, size_t, unsigned int);
<?> int tee(int, int, size_t, unsigned int);
diff --git a/usr/klibc/pread.c b/usr/klibc/pread.c
new file mode 100644
index 0000000..0d8c3b1
--- /dev/null
+++ b/usr/klibc/pread.c
@@ -0,0 +1,29 @@
+/*
+ * pread.c
+ *
+ * Some architectures need to wrap the system call
+ */
+
+#include <endian.h>
+#include <sys/syscall.h>
+
+#if defined(__hppa__)
+
+#if _BITSIZE == 32
+extern size_t __pread(int, void *, size_t, unsigned int, u...
2016 Jan 06
5
[PATCH klibc 0/5] klibc architecture fixes
Here's an assortment of build and run-time fixes for various
architectures that we've applied in Debian.
Ben.
Aurelien Jarno (1):
ppc64: fix struct stat
Ben Hutchings (2):
MIPS: Update archfcntl.h
syscalls: Override detection of direct socket syscalls on i386, m68k,
s390
Helge Deller (1):
Add pread and pwrite 32bit syscall wrappers for parisc
Mauricio Faria de Oliveira