diff options
author | 1998-09-24 02:49:20 +0000 | |
---|---|---|
committer | 1998-09-24 02:49:20 +0000 | |
commit | 64128bb51feebc5ff3722bb07850a5e52993aa04 (patch) | |
tree | da980d1609d8024a367bcea6f193e92f681b62ec | |
parent | The return value of setmode(3) is a pointer to malloc()'ed area and (diff) | |
download | wireguard-openbsd-64128bb51feebc5ff3722bb07850a5e52993aa04.tar.xz wireguard-openbsd-64128bb51feebc5ff3722bb07850a5e52993aa04.zip |
note that the caller is responsible for freeing the pointer returned by setmode()
-rw-r--r-- | lib/libc/gen/setmode.3 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libc/gen/setmode.3 b/lib/libc/gen/setmode.3 index 0fd7cb1b48c..4d6217816d9 100644 --- a/lib/libc/gen/setmode.3 +++ b/lib/libc/gen/setmode.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: setmode.3,v 1.4 1998/06/15 17:54:58 mickey Exp $ +.\" $OpenBSD: setmode.3,v 1.5 1998/09/24 02:49:20 millert Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -83,7 +83,10 @@ If the mode passed to is invalid, .Fn setmode returns -.Dv NULL . +.Dv NULL . +The caller is responsible for freeing the pointer that +.Fn setmode +returns. .Sh ERRORS The .Fn setmode |