diff options
Diffstat (limited to 'lib/libcurses/curs_getstr.3')
-rw-r--r-- | lib/libcurses/curs_getstr.3 | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/lib/libcurses/curs_getstr.3 b/lib/libcurses/curs_getstr.3 index f347ed5af74..514e68277df 100644 --- a/lib/libcurses/curs_getstr.3 +++ b/lib/libcurses/curs_getstr.3 @@ -1,7 +1,7 @@ -.\" $OpenBSD: curs_getstr.3,v 1.6 1998/09/13 19:16:18 millert Exp $ +.\" $OpenBSD: curs_getstr.3,v 1.7 2000/07/10 03:06:06 millert Exp $ .\" .\"*************************************************************************** -.\" Copyright (c) 1998 Free Software Foundation, Inc. * +.\" Copyright (c) 1998,2000 Free Software Foundation, Inc. * .\" * .\" Permission is hereby granted, free of charge, to any person obtaining a * .\" copy of this software and associated documentation files (the * @@ -28,12 +28,17 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $From: curs_getstr.3x,v 1.7 1998/03/11 21:12:53 juergen Exp $ +.\" $From: curs_getstr.3x,v 1.9 2000/07/01 17:39:31 tom Exp $ .TH curs_getstr 3 "" .SH NAME -\fBgetstr\fR, \fBwgetstr\fR, \fBmvgetstr\fR, -\fBmvwgetstr\fR, \fBwgetnstr\fR - accept character strings from -\fBcurses\fR terminal keyboard +\fBgetstr\fR, +\fBgetnstr\fR, +\fBwgetstr\fR, +\fBwgetnstr\fR, +\fBmvgetstr\fR, +\fBmvgetnstr\fR, +\fBmvwgetstr\fR, +\fBmvwgetnstr\fR - accept character strings from \fBcurses\fR terminal keyboard .SH SYNOPSIS \fB#include <curses.h>\fR @@ -43,6 +48,8 @@ .br \fBint wgetstr(WINDOW *win, char *str);\fR .br +\fBint wgetnstr(WINDOW *win, char *str, int n);\fR +.br \fBint mvgetstr(int y, int x, char *str);\fR .br \fBint mvwgetstr(WINDOW *win, int y, int x, char *str);\fR @@ -51,8 +58,6 @@ .br \fBint mvwgetnstr(WINDOW *, int y, int x, char *str, int n);\fR .br -\fBint wgetnstr(WINDOW *win, char *str, int n);\fR -.br .SH DESCRIPTION The function \fBgetstr\fR is equivalent to a series of calls to \fBgetch\fR, until a newline or carriage return is received (the terminating character is |