da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.ds ;G \\*(;G\\f\\$1\\$3\\f\\$2
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.if !\\$4 .Af \\$2 \\$1 "\\$4" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9"
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.ie \\$3 .ft \\$1
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.nr ;G \\n(.f
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.Af "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9"
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.ft \\n(;G \}
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.aF 5 \\n(.f "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7"
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.aF 5 1 "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7"
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.aF 1 5 "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7"
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.de EX \" start example
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.ta 1i 2i 3i 4i 5i 6i
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.de EE \" end example
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.TH LIBAST 3
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinsetenviron \- set environment value
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.SH SYNOPSIS
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinchar* setenviron(const char* \fIkey\fP);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.SH DESCRIPTION
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.L setenviron
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chincontrols environment
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.I name=value
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.L setenviron("\fIname=value\fP")
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinto the environment and returns a pointer to a
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.IR strdup (3)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.IR name=value .
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.L setenviron("\fIname\fP")
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinfrom the environment and returns the empty string.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.L setenviron(0)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinreserves a few slots in an internal array and is usually called by
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968china parent process that expects many children.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin0 is returned on error.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.L setenviron
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinpreserves the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.IR ksh (1)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinconvention of
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinas the first environment variable name.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin.SH "SEE ALSO"
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinenv(1), exec(2)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinPOSIX will eventually settle on an interface.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinIt has already picked a few of the names we did in .2 drafts.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinThis is about the third name change for ours.