summaryrefslogtreecommitdiffstats
path: root/doc/crypto/BIO_s_fd.pod
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-09-14 20:24:56 +0000
committerRichard Levitte <levitte@openssl.org>2000-09-14 20:24:56 +0000
commit8eec1389fb8e649fe971046b4108a66544955017 (patch)
treee26acf662ce80c37d2fe2265c14859897427d716 /doc/crypto/BIO_s_fd.pod
parente38dabbc0c678739d79971c04f2852b71f90a59f (diff)
BIO_seed() and BIO_tell() were documented in two other documents,
which is redundant. They are now in their own document. Also, in the name section, all the functions described shoud be enumerated. This will also make it much simpler to generate softlinks name like each function to man-pages containing the info.
Diffstat (limited to 'doc/crypto/BIO_s_fd.pod')
-rw-r--r--doc/crypto/BIO_s_fd.pod12
1 files changed, 2 insertions, 10 deletions
diff --git a/doc/crypto/BIO_s_fd.pod b/doc/crypto/BIO_s_fd.pod
index e5b9c811a6..da08ba1023 100644
--- a/doc/crypto/BIO_s_fd.pod
+++ b/doc/crypto/BIO_s_fd.pod
@@ -2,7 +2,7 @@
=head1 NAME
-BIO_s_fd - file descriptor BIO
+BIO_s_fd, BIO_set_fd, BIO_get_fd, BIO_new_fd - file descriptor BIO
=head1 SYNOPSIS
@@ -10,9 +10,6 @@ BIO_s_fd - file descriptor BIO
BIO_METHOD * BIO_s_fd(void);
- #define BIO_seek(b,ofs) (int)BIO_ctrl(b,BIO_C_FILE_SEEK,ofs,NULL)
- #define BIO_tell(b) (int)BIO_ctrl(b,BIO_C_FILE_TELL,0,NULL)
-
#define BIO_set_fd(b,fd,c) BIO_int_ctrl(b,BIO_C_SET_FD,c,fd)
#define BIO_get_fd(b,c) BIO_ctrl(b,BIO_C_GET_FD,0,(char *)c)
@@ -32,11 +29,6 @@ file descriptor when the BIO is freed.
BIO_reset() attempts to change the file pointer to the start of file
using lseek(fd, 0, 0).
-BIO_seek() sets the file pointer to position B<ofs> from start of file
-using lseek(fd, ofs, 0).
-
-BIO_tell() returns the current file position by calling lseek(fd, 0, 1).
-
BIO_set_fd() sets the file descriptor of BIO B<b> to B<fd> and the close
flag to B<c>.
@@ -85,4 +77,4 @@ This is a file descriptor BIO version of "Hello World":
=head1 SEE ALSO
-TBA
+L<BIO_seek(3)|BIO_seek(3)>, L<BIO_tell(3)|BIO_tell(3)>, TBA