SET_VERSION(2) DOMAIN/IX SYS5 SET_VERSION(2)
NAME
set_version, get_version - set/get system version (obsolete)
USAGE
set_version(string)
char *string;
get_version (cp)
char cp[16];
DESCRIPTION
These calls are obsolete. We include them in this release
for compatability only. However, we do not encourage their
continued use, and we cannot promise their continued sup-
port.
The DOMAIN/IX function set_version allows programs to
specify the version of DOMAIN/IX - AT&T UNIX System V or
Berkeley 4.2 UNIX - that will be used to define arguments
and semantics for certain system and library functions.
Valid string arguments are "bell" and "berkeley". The
default version is "bell". The selected version is inher-
ited across program invocation, exec(2), and by forked chil-
dren.
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".
RELATED INFORMATION
getpgrp(2), setpgrp(2)
Printed 12/4/86 DOMAIN System Only SET_VERSION-1