summaryrefslogtreecommitdiff
path: root/lib/libutil/opendev.3
diff options
context:
space:
mode:
authorPeter Valchev <pvalchev@cvs.openbsd.org>2002-02-25 22:19:46 +0000
committerPeter Valchev <pvalchev@cvs.openbsd.org>2002-02-25 22:19:46 +0000
commiteba16209fa8b8e6991410defed82fd681845f75b (patch)
treedd1237dfa184ee26b6f2034706c741f8ec94280e /lib/libutil/opendev.3
parent0ff922d4da0ff44a1580386161d2c769a38b23c3 (diff)
print a warning that realpath points to internal static storage space that
will be overwritten by subsequent calls; suggested by pjanzen, ok millert
Diffstat (limited to 'lib/libutil/opendev.3')
-rw-r--r--lib/libutil/opendev.35
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libutil/opendev.3 b/lib/libutil/opendev.3
index 099829ba88f..9b2fd89467a 100644
--- a/lib/libutil/opendev.3
+++ b/lib/libutil/opendev.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: opendev.3,v 1.10 2000/05/01 06:05:33 hugh Exp $
+.\" $OpenBSD: opendev.3,v 1.11 2002/02/25 22:19:45 pvalchev Exp $
.\"
.\" Copyright (c) 2000, Todd C. Miller. All rights reserved.
.\" Copyright (c) 1996, Jason Downs. All rights reserved.
@@ -84,6 +84,9 @@ The
.Fn opendev
return value and errors are the same as the return value and errors of
.Xr open 2 .
+.Sh WARNINGS
+realpath points to internal static storage space that will be
+overwritten by subsequent calls.
.Sh SEE ALSO
.Xr open 2 ,
.Xr getrawpartition 3