about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2006-02-22 02:55:10 +0000
committerRoland McGrath <roland@gnu.org>2006-02-22 02:55:10 +0000
commit7e583a52d3c0601f51502182dbdced77573e708e (patch)
tree13f2fc3f194bcdae8e8b2589b6d0df75d6e5dce6
parent93b94c0412b79a84861f1c2b1d2747d291017d73 (diff)
downloadglibc-7e583a52d3c0601f51502182dbdced77573e708e.tar.gz
glibc-7e583a52d3c0601f51502182dbdced77573e708e.tar.xz
glibc-7e583a52d3c0601f51502182dbdced77573e708e.zip
[BZ #2161]
2005-11-15  Robert Millan  <robertmh@gnu.org>
	[BZ #2161]
	* manual/llio.texi (read, write): Document EINVAL on unaligned access.
-rw-r--r--ChangeLog5
-rw-r--r--manual/llio.texi10
2 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e9562d4846..70abaed584 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-11-15  Robert Millan  <robertmh@gnu.org>
+
+	[BZ #2161]
+	* manual/llio.texi (read, write): Document EINVAL on unaligned access.
+
 2006-02-21  Roland McGrath  <roland@redhat.com>
 
 	* sysdeps/i386/i686/memset.S: Fix treatment of unaligned pointer.
diff --git a/manual/llio.texi b/manual/llio.texi
index 863b3b4316..1d088d8ee2 100644
--- a/manual/llio.texi
+++ b/manual/llio.texi
@@ -368,6 +368,11 @@ sending it a @code{SIGTTIN} signal isn't working.  This might happen if
 the signal is being blocked or ignored, or because the process group is
 orphaned.  @xref{Job Control}, for more information about job control,
 and @ref{Signal Handling}, for information about signals.
+
+@item EINVAL
+In some systems, when reading from a character or block device, position
+and size offsets must be aligned to a particular block size.  This error
+indicates that the offsets were not properly aligned.
 @end table
 
 Please note that there is no function named @code{read64}.  This is not
@@ -515,6 +520,11 @@ The device containing the file is full.
 This error is returned when you try to write to a pipe or FIFO that
 isn't open for reading by any process.  When this happens, a @code{SIGPIPE}
 signal is also sent to the process; see @ref{Signal Handling}.
+
+@item EINVAL
+In some systems, when writing to a character or block device, position
+and size offsets must be aligned to a particular block size.  This error
+indicates that the offsets were not properly aligned.
 @end table
 
 Unless you have arranged to prevent @code{EINTR} failures, you should