blob: 56ab32bf4de6c8699de4264b31fd5d1ce1f76b5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
'\" t
.\" Copyright (c) 2025 Bruce Hill
.\" All rights reserved.
.\"
.TH setenv 3 2025-11-29 "Tomo man-pages"
.SH NAME
setenv \- set an environment variable
.SH LIBRARY
Tomo Standard Library
.SH SYNOPSIS
.nf
.BI setenv\ :\ func(name:\ Text,\ value:\ Text?\ ->\ Void)
.fi
.SH DESCRIPTION
Sets an environment variable.
.SH ARGUMENTS
.TS
allbox;
lb lb lbx
l l l.
Name Type Description
name Text The name of the environment variable to set.
value Text? The new value of the environment variable. If \fBnone\fR, then the environment variable will be unset.
.TE
.SH RETURN
Nothing.
.SH EXAMPLES
.EX
setenv("FOOBAR", "xyz")
.EE
|