2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
5 Get the position in a stream.
8 #define fgetpos fgetpos
12 /*****************************************************************************
24 Get the current position in a stream. This function is eqivalent
25 to ftell(). However, on some systems fpos_t may be a complex
26 structure, so this routine may be the only way to portably
27 get the position of a stream.
30 stream - The stream to get the position from.
31 pos - Pointer to the fpos_t position structure to fill.
34 0 on success and -1 on error. If an error occurred, the global
35 variable errno is set.
48 ******************************************************************************/
56 *pos
= ftell (stream
);