This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
The file positions that telldir and seekdir operate on are of type long, not off_t. Andreas. 2005-02-14 Andreas Schwab <schwab@suse.de> * manual/filesys.texi (Random Access Directory): Fix type of file position value for telldir and seekdir. (Attribute Meanings): Fix typo. --- manual/filesys.texi.~1.96.~ 2003-11-10 09:58:21.000000000 +0100 +++ manual/filesys.texi 2005-02-14 23:03:15.326678928 +0100 @@ -531,7 +531,7 @@ added or removed since you last called @ @comment dirent.h @comment BSD -@deftypefun off_t telldir (DIR *@var{dirstream}) +@deftypefun long int telldir (DIR *@var{dirstream}) The @code{telldir} function returns the file position of the directory stream @var{dirstream}. You can use this value with @code{seekdir} to restore the directory stream to that position. @@ -539,7 +539,7 @@ restore the directory stream to that pos @comment dirent.h @comment BSD -@deftypefun void seekdir (DIR *@var{dirstream}, off_t @var{pos}) +@deftypefun void seekdir (DIR *@var{dirstream}, long int @var{pos}) The @code{seekdir} function sets the file position of the directory stream @var{dirstream} to @var{pos}. The value @var{pos} must be the result of a previous call to @code{telldir} on this particular stream; @@ -1740,7 +1740,7 @@ is transparently replaced by @code{ino64 @deftp {Data Type} ino64_t This is an arithmetic data type used to represent file serial numbers for the use in LFS. In the GNU system, this type is equivalent to -@code{unsigned long longint}. +@code{unsigned long long int}. When compiling with @code{_FILE_OFFSET_BITS == 64} this type is available under the name @code{ino_t}. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |