fgetpos man page on OSF1

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

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

NAME
       fsetpos, fgetpos -  Reposition the file pointer of a stream

LIBRARY
	Standard C Library (libc.a)

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

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

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

DIFFERENCES
       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.

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

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

       delim off

					       Digital UNIX Diffs - fsetpos(5)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OSF1

List of man pages available for OSF1

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]
Tweet
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