Deleted Added
full compact
libstand.3 (50476) libstand.3 (57686)
1.\" Copyright (c) Michael Smith
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

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

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR Ohttp://wafu.netgate.net/tama/unix/indexe.htmlTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
1.\" Copyright (c) Michael Smith
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

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

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR Ohttp://wafu.netgate.net/tama/unix/indexe.htmlTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD: head/lib/libstand/libstand.3 50476 1999-08-28 00:22:10Z peter $
25.\" $FreeBSD: head/lib/libstand/libstand.3 57686 2000-03-02 09:14:21Z sheldonh $
26.\"
27.Dd June 22, 1998
28.Dt LIBSTAND 3
29.Os FreeBSD 3.0
30.Sh NAME
31.Nm libstand
32.Nd support library for standalone executables
33.Sh SYNOPSIS

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

104a set hook will validate the
105.Fa value
106argument, and then call
107.Fn env_setenv
108again with EV_NOHOOK set to actually save the value. The predefined function
109.Fn env_noset
110may be specified to refuse all attempts to set a variable.
111.Pp
26.\"
27.Dd June 22, 1998
28.Dt LIBSTAND 3
29.Os FreeBSD 3.0
30.Sh NAME
31.Nm libstand
32.Nd support library for standalone executables
33.Sh SYNOPSIS

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

104a set hook will validate the
105.Fa value
106argument, and then call
107.Fn env_setenv
108again with EV_NOHOOK set to actually save the value. The predefined function
109.Fn env_noset
110may be specified to refuse all attempts to set a variable.
111.Pp
112The unset hook is invoked when an attempt is made to unset a variable. If it
112The unset hook is invoked when an attempt is made to unset a variable.
113If it
113returns zero, the variable will be unset. The predefined function
114.Fa env_nounset
115may be used to prevent a variable being unset.
116.El
117.Sh STANDARD LIBRARY SUPPORT
118.Bl -hang -width 10n
119.It Fn "int getopt" "int argc" "char * const *argv" "cont char *optstring"
120.It Fn "long strtol" "const char *nptr" "char **endptr" "int base"

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

418The BSD UFS.
419.It tftp_fsops
420File access via TFTP.
421.It nfs_fsops
422File access via NFS.
423.It cd9660_fsops
424ISO 9660 (CD-ROM) filesystem.
425.It zipfs_fsops
114returns zero, the variable will be unset. The predefined function
115.Fa env_nounset
116may be used to prevent a variable being unset.
117.El
118.Sh STANDARD LIBRARY SUPPORT
119.Bl -hang -width 10n
120.It Fn "int getopt" "int argc" "char * const *argv" "cont char *optstring"
121.It Fn "long strtol" "const char *nptr" "char **endptr" "int base"

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

419The BSD UFS.
420.It tftp_fsops
421File access via TFTP.
422.It nfs_fsops
423File access via NFS.
424.It cd9660_fsops
425ISO 9660 (CD-ROM) filesystem.
426.It zipfs_fsops
426Stacked filesystem supporting gzipped files. When trying the zipfs filesystem,
427Stacked filesystem supporting gzipped files.
428When trying the zipfs filesystem,
427.Nm
428appends
429.Li .gz
430to the end of the filename, and then tries to locate the file using the other
431filesystems. Placement of this filesystem in the
432.Dv file_system[]
433array determines whether gzipped files will be opened in preference to non-gzipped
434files. It is only possible to seek a gzipped file forwards, and

--- 40 unchanged lines hidden ---
429.Nm
430appends
431.Li .gz
432to the end of the filename, and then tries to locate the file using the other
433filesystems. Placement of this filesystem in the
434.Dv file_system[]
435array determines whether gzipped files will be opened in preference to non-gzipped
436files. It is only possible to seek a gzipped file forwards, and

--- 40 unchanged lines hidden ---