Deleted Added
full compact
getenv.3 (200195) getenv.3 (233648)
1.\" Copyright (c) 1988, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" the American National Standards Committee X3, on Information
6.\" Processing Systems.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)getenv.3 8.2 (Berkeley) 12/11/93
1.\" Copyright (c) 1988, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" the American National Standards Committee X3, on Information
6.\" Processing Systems.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 16 unchanged lines hidden (view full) ---

25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)getenv.3 8.2 (Berkeley) 12/11/93
33.\" $FreeBSD: head/lib/libc/stdlib/getenv.3 200195 2009-12-06 23:51:27Z scf $
33.\" $FreeBSD: head/lib/libc/stdlib/getenv.3 233648 2012-03-29 05:02:12Z eadler $
34.\"
35.Dd June 20, 2007
36.Dt GETENV 3
37.Os
38.Sh NAME
39.Nm getenv ,
40.Nm putenv ,
41.Nm setenv ,

--- 154 unchanged lines hidden (view full) ---

196The
197.Fn putenv
198function appeared in
199.Bx 4.3 Reno .
200.Pp
201Until
202.Fx 7.0 ,
203.Fn putenv
34.\"
35.Dd June 20, 2007
36.Dt GETENV 3
37.Os
38.Sh NAME
39.Nm getenv ,
40.Nm putenv ,
41.Nm setenv ,

--- 154 unchanged lines hidden (view full) ---

196The
197.Fn putenv
198function appeared in
199.Bx 4.3 Reno .
200.Pp
201Until
202.Fx 7.0 ,
203.Fn putenv
204would make a copy of
204would make a copy of
205.Fa string
206and insert it into the environment using
207.Fn setenv .
208This was changed to use
209.Fa string
210as the memory location of the ``name=value'' pair to follow the
211.Tn POSIX
212specification.

--- 17 unchanged lines hidden ---
205.Fa string
206and insert it into the environment using
207.Fn setenv .
208This was changed to use
209.Fa string
210as the memory location of the ``name=value'' pair to follow the
211.Tn POSIX
212specification.

--- 17 unchanged lines hidden ---