Browse Source

Document new unsetenv() error returns.

From Nicolas Legrand <nlegrand@ethelred.fr>; ok jmc@
OPENBSD_4_8
naddy 14 years ago
parent
commit
cc68d8828e
1 changed files with 8 additions and 2 deletions
  1. +8
    -2
      src/lib/libc/stdlib/getenv.3

+ 8
- 2
src/lib/libc/stdlib/getenv.3 View File

@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" $OpenBSD: getenv.3,v 1.14 2010/03/10 20:46:16 kili Exp $
.\" $OpenBSD: getenv.3,v 1.15 2010/07/06 20:52:00 naddy Exp $
.\"
.Dd $Mdocdate: March 10 2010 $
.Dd $Mdocdate: July 6 2010 $
.Dt GETENV 3
.Os
.Sh NAME
@ -130,6 +130,12 @@ containing an
character.
.Pp
The
.Fn unsetenv
function was passed an empty
.Ar name
or a NULL pointer.
.Pp
The
.Fn putenv
function was passed a
.Ar string


Loading…
Cancel
Save