diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2018-04-25 11:15:59 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2018-04-25 11:15:59 +0000 |
commit | f27446c980336f27ac50b6765c323462a512c605 (patch) | |
tree | 1e03f00761d5f70f6f251b6e9a04c32adec99e4b /share/man/man9/getsn.9 | |
parent | b73fa8cf8f1c07640fda852104ee5cb5d57d171e (diff) |
use size_t for the size of buffers and strings, not int.
sprinkle some bounded attributes while here.
ok deraadt@
Diffstat (limited to 'share/man/man9/getsn.9')
-rw-r--r-- | share/man/man9/getsn.9 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/share/man/man9/getsn.9 b/share/man/man9/getsn.9 index ceaf081f35f..204874279fc 100644 --- a/share/man/man9/getsn.9 +++ b/share/man/man9/getsn.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getsn.9,v 1.1 2018/04/23 10:30:39 dlg Exp $ +.\" $OpenBSD: getsn.9,v 1.2 2018/04/25 11:15:58 dlg Exp $ .\" .\" Copyright (c) 2002, 2003 CubeSoft Communications, Inc. .\" <http://www.csoft.org> @@ -24,7 +24,7 @@ .\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: April 23 2018 $ +.Dd $Mdocdate: April 25 2018 $ .Dt GETSN 9 .Os .Sh NAME @@ -32,8 +32,8 @@ .Nd read user input from the console .Sh SYNOPSIS .In lib/libkern/libkern.h -.Ft int -.Fn getsn "char *cp" "int size" +.Ft size_t +.Fn getsn "char *cp" "size_t size" .Sh DESCRIPTION The .Fn getsn |