fsetpos man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

Digital UNIX Diffs - fsetpos(5)		       Digital UNIX Diffs - fsetpos(5)

       fsetpos, fgetpos -  Reposition the file pointer of a stream

	Standard C Library (libc.a)

       int fsetpos(
	       FILE *stream,
	       const fpos_t *position);

       int fgetpos(
	       FILE *stream,
	       fpos_t *position);

       Specifies  the  I/O  stream.   Specifies the value of the file position

       vms-vaxc(5): OpenVMS VAX C vs DEC C Differences

       With the DEC C RTL, a call to these functions  clears  the  end-of-file
       flag (EOF).  With the VAX C RTL, such a call does not clear the flag.

       With  the  DEC  C RTL, fsetpos(3) can be used for file positioning on a
       file opened in append mode (ie "a").  The VAX C RTL  does  not  support
       file positioning for files opened in append mode.

       The  DEC	 C  RTL	 allows file positioning calls to seek to an arbitrary
       byte within fixed-length record files.  The VAX	C  RTL	treats	fixed-
       length  record  files like all record files  and only allows file posi‐
       tioning to record boundaries.

       alpha-32bits(5): 32 vs 64 bit Differences

       When setting or getting the file positions for a file with the  ANSI  C
       functions of fsetpos() or fgetpos(), respectively, the file position is
       specified by a value of type fpos_t.  This type is defined as a long in
       the 64-bit Digital UNIX environment.

       Functions:  fsetpos(3), fgetpos(3), fseek(5), rewind(5)

	vms-vaxc(5), alpha-32bits(5)

       delim off

					       Digital UNIX Diffs - fsetpos(5)

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net