SET_VERSION(2) SysV SET_VERSION(2)
NAME
set_version, get_version - set/get system version (obsolete)
SYNOPSIS
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 support.
The Domain/IX function set_version allows programs to specify the version
of Domain/IX - AT&T UNIX System V or Berkeley Software Distribution 4.2 -
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 inherited across
program invocation, exec(2), and by forked children.
The Domain/IX function get_version returns a string identifying the
version of the UNIX operating system (Bell System V or Berkeley)
currently interpreting arguments and semantics for certain system and
library functions. It returns either "bell" or "berkeley".
SEE ALSO
getpgrp(2), setpgrp(2).