man(1) Manual page archive


     DEPRECATED(2)                                       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 exist 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 inter-
          rupts disabled (if how is 8).  It is restricted to the
          super-user.

          Vadvise gives the virtual memory system hints about the pag-
          ing behavior of the current process.

          Vlimit sets various resource limits, such as the amount of
          memory allowed 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

     DEPRECATED(2)                                       DEPRECATED(2)

          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, Volume 1, 1980 (Berkeley)