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