Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ setposix(3P) — A/UX 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

setcompat(2)




setposix(3P) setposix(3P)
NAME setposix - set POSIX compatibility flags SYNOPSIS int setposix() DESCRIPTION setposix is equivalent to the following code fragment: #include <compat.h> setcompat(COMPAT_POSIX); COMPAT_POSIX is equivalent to all of the following: COMPAT_BSDGROUPS COMPAT_BSDCHOWN COMPAT_BSDSIGNALS COMPAT_BSDTTY COMPAT_SYSCALLS COMPAT_POSIXPATHTRUNC COMPAT_EXEC Any non-POSIX compatibility flags that were set prior to the call to setposix are reset. RETURN VALUE Upon successful completion, setposix returns the previous compatibility mask. Otherwise, a value of -1 is returned and errno is set to indicate the error. ERRORS setposix will return the following error code: [EINVAL] setposix results in a change in the state of the COMPAT_BSDSIGNALS bit and a signal is currently pending, caught, or held. SEE ALSO setcompat(2). April, 1990 1

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