Manual Page Result
0
Command: deprecated | Section: 2 | Source: UNIX v10 | File: deprecated.2
DEPRECATED(2) System Calls Manual DEPRECATED(2)
NAME
reboot, vadvise, vlimit, vswapon, getgroups, setgroups - system calls
to be avoided
SYNOPSIS
int reboot(how)
int vadvise(how)
int vlimit(what, limit)
int vswapon(special)
char *special;
#include <sys/param.h>
int getgroups(ngroups, gidset)
short *gidset;
setgroups(ngroups, gidset)
short *gidset;
DESCRIPTION
These calls are hangovers from prior versions of the system. Some ex-
ist only for system maintenance purposes; some depend on the virtual
memory implementation. None should be used except as a last resort.
Most are not included in /lib/libc.a.
Reboot finishes any pending I/O and reboots the system (if how is 0) or
puts the system into a tight loop with interrupts disabled (if how is
8). It is restricted to the super-user.
Vadvise gives the virtual memory system hints about the paging behavior
of the current process.
Vlimit sets various resource limits, such as the amount of memory al-
lowed for text and data, and the maximum size of core images.
Vswapon adds the block device special to the pool of swap space. The
device must be listed in a table compiled into the operating system;
vswapon merely enables it.
Getgroups stores at most ngroups elements of the group access list of
the current process in the array gidset.
Setgroups sets the group access list of the current user process from
gidset. Ngroups gives the number of entries; it must not exceed
NGROUPS, defined in <param.h>. Only the super-user may add groups to
the list.
SEE ALSO
Unix Programmer's Manual, Seventh Edition, Virtual VAX-11 Version, Vol-
ume 1, 1980 (Berkeley)
DEPRECATED(2)