Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ get_version.bsd(2) — Domain/IX SR9.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getpgrp(2)

setpgrp(2)

rand(3)

SET_VERSION(2)

NAME

set_version, get_version − sets or gets system version for syntax interpretation

USAGE

set_version (string)
char *string;

get_version (cp)
char cp[16];

DESCRIPTION

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

The DOMAIN/IX function set_version allows programs to specify the dialect of DOMAIN/IX -- Bell UNIX System V or Berkeley UNIX 4.2 -- to 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 dialect of DOMAIN/IX (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), rand(3). 

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