Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ set_version(2) — sys5 — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought



SET_VERSION(2)  DOMAIN/IX Reference Manual (SYS5)  SET_VERSION(2)



NAME
     set_version, get_version - sets/gets system version for syn-
     tax interpretation

USAGE
     set_version (string)
     char *string;

     get_version (cp)
     char cp[16];

DESCRIPTION
     These calls are included for compatibility with previous
     releases only; they are obsolete.

     The DOMAIN/IX function set_version allows programs to
     specify the version of UNIX -- Bell UNIX System V or Berke-
     ley 4.2 UNIX --  to be used to define arguments and seman-
     tics for certain system and library functions.  Valid string
     arguments are ``bell" and ``berkeley".  The default version
     is ``bell".  The selected version is inherited across pro-
     gram invocation, exec(2), and by forked children.

     The DOMAIN/IX function get_version returns a string identi-
     fying the version of UNIX (Bell UNIX System V or Berkeley
     UNIX) currently interpreting arguments and semantics for
     certain system and library functions.  It returns either
     ``bell" or ``berkeley".



























Printed 5/10/85                                     SET_VERSION-1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026