Differences between current version and predecessor to the previous major change of lseek(2).

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 4 Last edited on Wednesday, October 29, 2003 8:37:12 am by JohnMcPherson
Older page: version 2 Last edited on Monday, March 10, 2003 2:34:17 pm by PerryLorier Revert
@@ -23,14 +23,15 @@
 ;[EBADF]: ''Fildes'' is not an open file descriptor. 
 ;[ESPIPE]: ''Fildes'' is associated with a pipe, socket, or FIFO. 
 ;[EINVAL]: ''Whence'' is not a proper value. 
+;[EOVERFLOW]: file is larger than can fit in off_t  
-SVr4, POSIX, BSD 4.3 
+SVr4, [ POSIX] , [ BSD] 4.3 
-Some devices are incapable of seeking and POSIX does not specify which devices must support it. 
+Some devices are incapable of seeking and [ POSIX] does not specify which devices must support it. 
 Linux specific restrictions: using lseek(2) on a tty device returns [ESPIPE]. Other systems return the number of written characters, using SEEK_SET to set the 
 counter. Some devices, e.g. __/dev/null__ do not cause the error [ESPIPE], but return a pointer which value is undefined. 
@@ -38,8 +39,8 @@
 This document's use of ''whence'' is incorrect English, but maintained for historical (hysterical?) reasons. 
 When converting old code, substitute values for ''whence'' with the following macros: 
-SVR1-3 returns __long__ instead of __off_t__, BSD returns __int__. 
+SVR1-3 returns __long__ instead of __off_t__, [ BSD] returns __int__. 
 dup(2), open(2), fseek(3) 
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.