]> rtime.felk.cvut.cz Git - l4.git/blobdiff - l4/pkg/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/common/read.c
Update
[l4.git] / l4 / pkg / uclibc / lib / contrib / uclibc / libc / sysdeps / linux / common / read.c
diff --git a/l4/pkg/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/common/read.c b/l4/pkg/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/common/read.c
deleted file mode 100644 (file)
index 67c29b5..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-/* vi: set sw=4 ts=4: */
-/*
- * read() for uClibc
- *
- * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
- *
- * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
- */
-
-#include <sys/syscall.h>
-#include <unistd.h>
-#include <cancel.h>
-
-#define __NR___read_nocancel __NR_read
-_syscall3(ssize_t, __NC(read), int, fd, void *, buf, size_t, count)
-
-CANCELLABLE_SYSCALL(ssize_t, read, (int fd, void *buf, size_t count),
-                   (fd, buf, count))
-lt_libc_hidden(read)