2 Copyright © 1995-2012, The AROS Development Team. All rights reserved.
5 Get the position in a stream.
10 /*****************************************************************************
22 Get the current position in a stream. This function is eqivalent
23 to ftell(). However, on some systems fpos_t may be a complex
24 structure, so this routine may be the only way to portably
25 get the position of a stream.
28 stream - The stream to get the position from.
29 pos - Pointer to the fpos_t position structure to fill.
32 0 on success and -1 on error. If an error occurred, the global
33 variable errno is set.
46 ******************************************************************************/
54 *pos
= ftell (stream
);