add links to the new BIO and SSL manpages to make them visible on the web.
[openssl.git] / doc / crypto / BIO_seek.pod
1 =pod
2
3 =head1 NAME
4
5 BIO_seek, BIO_tell - file BIO operations
6
7 =head1 SYNOPSIS
8
9  #include <openssl/bio.h>
10
11  #define BIO_seek(b,ofs)        (int)BIO_ctrl(b,BIO_C_FILE_SEEK,ofs,NULL)
12  #define BIO_tell(b)            (int)BIO_ctrl(b,BIO_C_FILE_TELL,0,NULL)
13
14 =head1 DESCRIPTION
15
16 BIO_seek() sets the file position pointer to B<ofs> bytes from start of file.
17
18 BIO_tell() returns the current file position.
19
20 =head1 RETURN VALUES
21
22 BIO_seek() returns the same value as the underlying fseek() function:
23 0 for success or -1 for failure.
24
25 BIO_tell() returns the current file position.
26
27 =head1 SEE ALSO
28
29 TBA
30