PATCH: readahead(2) man page incorrectly states that it blocks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Patch below.

This was reported on the mailing list several months ago by Corrado Zoccolo:

 http://www.spinics.net/lists/linux-man/msg00961.html

diff --git a/man2/readahead.2 b/man2/readahead.2
index 886b22a..a07bcbe 100644
--- a/man2/readahead.2
+++ b/man2/readahead.2
@@ -58,7 +58,9 @@ equal to
 .BR readahead ()
 does not read beyond the end of the file.
 .BR readahead ()
-blocks until the specified data has been read.
+is asynchronous and returns immediately.
+The next system call reading from the file descriptor
+will block until data is available.
 The current file offset of the open file referred to by
 .I fd
 is left unchanged.
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux