~ubuntu-branches/ubuntu/saucy/manpages/saucy

« back to all changes in this revision

Viewing changes to man3/clearenv.3

  • Committer: Package Import Robot
  • Author(s): Loïc Minier
  • Date: 2011-10-17 13:06:22 UTC
  • mfrom: (1.1.46 upstream) (2.2.11 sid)
  • Revision ID: package-import@ubuntu.com-20111017130622-rbdw3julnma2baqu
Tags: 3.32-0.2ubuntu1
* Merge from Debian testing/unstable; remaining changes:
  - ptrace.2, prctl.2: document Ubuntu-specific PTRACE_ATTACH,
    PR_SET_PTRACER behavior.
* Keep Debian's glibc-doc version in the Replaces as it's satisfactory for
  upgrades from natty and lucid.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
.\" the source, must acknowledge the copyright and authors of this work.
22
22
.\"
23
23
.\" Additions, aeb, 2001-10-17.
24
 
.TH CLEARENV 3  2007-07-26 "Linux" "Linux Programmer's Manual"
 
24
.TH CLEARENV 3  2010-10-04 "Linux" "Linux Programmer's Manual"
25
25
.SH NAME
26
26
clearenv \- clear the environment
27
27
.SH SYNOPSIS
37
37
.in
38
38
.sp
39
39
.BR clearenv ():
40
 
_SVID_SOURCE || _XOPEN_SOURCE
 
40
_SVID_SOURCE || _BSD_SOURCE
41
41
.SH DESCRIPTION
42
42
The
43
43
.BR clearenv ()
50
50
.BR clearenv ()
51
51
function returns zero on success, and a nonzero
52
52
value on failure.
53
 
.\" Most versions of Unix return -1 on error, or do not even have errors.
 
53
.\" Most versions of UNIX return -1 on error, or do not even have errors.
54
54
.\" Glibc info and the Watcom C library document "a nonzero value".
55
55
.SH VERSIONS
56
56
Not in libc4, libc5.
57
57
In glibc since glibc 2.0.
58
58
.SH "CONFORMING TO"
59
 
Various Unix variants (DG/UX, HP-UX, QNX, ...).
 
59
Various UNIX variants (DG/UX, HP-UX, QNX, ...).
60
60
POSIX.9 (bindings for FORTRAN77).
61
61
POSIX.1-1996 did not accept
62
62
.BR clearenv ()
99
99
.BR unsetenv (3),
100
100
.BR environ (7)
101
101
.SH COLOPHON
102
 
This page is part of release 3.27 of the Linux
 
102
This page is part of release 3.32 of the Linux
103
103
.I man-pages
104
104
project.
105
105
A description of the project,