summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2004-03-20 08:41:12 +0000
committertjr <tjr@FreeBSD.org>2004-03-20 08:41:12 +0000
commit023efa65f4f29bed58249bb76d41ec35c3cb45ac (patch)
tree10ff9157f075688df430a3c58d15dd8c9a3d6048 /lib/libc
parent4dcb876bb2ad0fe90d0c72907d7694fee5ebeca5 (diff)
downloadFreeBSD-src-023efa65f4f29bed58249bb76d41ec35c3cb45ac.zip
FreeBSD-src-023efa65f4f29bed58249bb76d41ec35c3cb45ac.tar.gz
Mention that funopen() uses fpos_t incorrectly in the BUGS section.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdio/funopen.310
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/libc/stdio/funopen.3 b/lib/libc/stdio/funopen.3
index 8c2b3e6..8ca1653 100644
--- a/lib/libc/stdio/funopen.3
+++ b/lib/libc/stdio/funopen.3
@@ -34,7 +34,7 @@
.\" @(#)funopen.3 8.1 (Berkeley) 6/9/93
.\" $FreeBSD$
.\"
-.Dd June 9, 1993
+.Dd March 19, 2004
.Dt FUNOPEN 3
.Os
.Sh NAME
@@ -170,3 +170,11 @@ The
function
may not be portable to systems other than
.Bx .
+.Pp
+The
+.Fn funopen
+interface erroneously assumes that
+.Vt fpos_t
+is an integral type; see
+.Xr fseek 3
+for a discussion of this issue.
OpenPOWER on IntegriCloud