X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fcurs_getstr.3x;h=d9bed5958976a9ba009629519844dae38261614d;hp=378c2f0acfc3d125430307198df0bb7c8553fcc8;hb=349761f30e7fc0b4bf2718f7fc3da34e09ea6735;hpb=30393be892025f03322b7907a04cc05cc08e8760 diff --git a/man/curs_getstr.3x b/man/curs_getstr.3x index 378c2f0a..d9bed595 100644 --- a/man/curs_getstr.3x +++ b/man/curs_getstr.3x @@ -1,5 +1,6 @@ .\"*************************************************************************** -.\" Copyright (c) 1998-2017,2018 Free Software Foundation, Inc. * +.\" Copyright 2018-2019,2020 Thomas E. Dickey * +.\" Copyright 1998-2010,2017 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 * @@ -26,7 +27,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_getstr.3x,v 1.26 2018/09/01 20:34:52 tom Exp $ +.\" $Id: curs_getstr.3x,v 1.29 2020/02/02 23:34:34 tom Exp $ .TH curs_getstr 3X "" .ie \n(.g .ds `` \(lq .el .ds `` `` @@ -140,10 +141,10 @@ string by those implementations was predictable but not useful The functions \fBgetnstr\fR, \fBmvgetnstr\fR, and \fBmvwgetnstr\fR were present but not documented in SVr4. .PP -X/Open Curses issue 5 (2007) stated that these functions +X/Open Curses, Issue 5 (2007) stated that these functions \*(``read at most \fIn\fP bytes\*('' but did not state whether the terminating NUL is counted in that limit. -X/Open Curses issue 7 (2009) changed that to say they +X/Open Curses, Issue 7 (2009) changed that to say they \*(``read at most \fIn\fP\-1 bytes\*('' to allow for the terminating NUL. As of 2018, some implementations do, some do not count it: