X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=man%2Fcurs_getstr.3x;h=818dc9035a0e5da9f91bbb98cbd17fd71c387bea;hp=378c2f0acfc3d125430307198df0bb7c8553fcc8;hb=a8dfaf0998c91b39c5c0a4913987cd67ca622bff;hpb=9193d076200365eeb5ff932acdbbdcc5e452292c diff --git a/man/curs_getstr.3x b/man/curs_getstr.3x index 378c2f0a..818dc903 100644 --- a/man/curs_getstr.3x +++ b/man/curs_getstr.3x @@ -1,5 +1,5 @@ .\"*************************************************************************** -.\" Copyright (c) 1998-2017,2018 Free Software Foundation, Inc. * +.\" Copyright (c) 1998-2018,2019 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 +26,7 @@ .\" authorization. * .\"*************************************************************************** .\" -.\" $Id: curs_getstr.3x,v 1.26 2018/09/01 20:34:52 tom Exp $ +.\" $Id: curs_getstr.3x,v 1.28 2019/07/20 19:14:56 tom Exp $ .TH curs_getstr 3X "" .ie \n(.g .ds `` \(lq .el .ds `` `` @@ -140,10 +140,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: