aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/posix
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix')
-rw-r--r--sysdeps/posix/pread.c4
-rw-r--r--sysdeps/posix/pread64.c4
-rw-r--r--sysdeps/posix/pwrite.c4
-rw-r--r--sysdeps/posix/pwrite64.c2
4 files changed, 11 insertions, 3 deletions
diff --git a/sysdeps/posix/pread.c b/sysdeps/posix/pread.c
index 8dc3385543..3b226a0dc0 100644
--- a/sysdeps/posix/pread.c
+++ b/sysdeps/posix/pread.c
@@ -1,6 +1,6 @@
/* Read block from given position in file without changing file pointer.
POSIX version.
- Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998, 1999, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -22,6 +22,8 @@
#include <errno.h>
#include <unistd.h>
+/* Note: This implementation of pread is not multithread-safe. */
+
ssize_t
__libc_pread (int fd, void *buf, size_t nbyte, off_t offset)
{
diff --git a/sysdeps/posix/pread64.c b/sysdeps/posix/pread64.c
index 0c2322c1f2..b19eabe4aa 100644
--- a/sysdeps/posix/pread64.c
+++ b/sysdeps/posix/pread64.c
@@ -1,6 +1,6 @@
/* Read block from given position in file without changing file pointer.
POSIX version.
- Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -22,6 +22,8 @@
#include <errno.h>
#include <unistd.h>
+/* Note: This implementation of pread64 is not multithread-safe. */
+
ssize_t
__libc_pread64 (int fd, void *buf, size_t nbyte, off64_t offset)
{
diff --git a/sysdeps/posix/pwrite.c b/sysdeps/posix/pwrite.c
index 3eec4a2dfb..51624e5a51 100644
--- a/sysdeps/posix/pwrite.c
+++ b/sysdeps/posix/pwrite.c
@@ -1,6 +1,6 @@
/* Write block to given position in file without changing file pointer.
POSIX version.
- Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998, 1999, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -22,6 +22,8 @@
#include <errno.h>
#include <unistd.h>
+/* Note: This implementation of pwrite is not multithread-safe. */
+
ssize_t
__libc_pwrite (int fd, const void *buf, size_t nbyte, off_t offset)
{
diff --git a/sysdeps/posix/pwrite64.c b/sysdeps/posix/pwrite64.c
index 7a206f6597..33446c66b5 100644
--- a/sysdeps/posix/pwrite64.c
+++ b/sysdeps/posix/pwrite64.c
@@ -22,6 +22,8 @@
#include <errno.h>
#include <unistd.h>
+/* Note: This implementation of pwrite64 is not multithread-safe. */
+
ssize_t
__libc_pwrite64 (int fd, const void *buf, size_t nbyte, off64_t offset)
{