Query: check_utility_compat
OS: freebsd
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CHECK_UTILITY_COMPAT(3) BSD Library Functions Manual CHECK_UTILITY_COMPAT(3)NAMEcheck_utility_compat -- determine whether a utility should be compatibleLIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <unistd.h> int check_utility_compat(const char *utility);DESCRIPTIONThe check_utility_compat() function checks whether utility should behave in a traditional (FreeBSD 4.7-compatible) manner, or in accordance with IEEE Std 1003.1-2001 (``POSIX.1''). The configuration is given as a comma-separated list of utility names; if the list is present but empty, all supported utilities assume their most compatible mode. The check_utility_compat() function first checks for an environment vari- able named _COMPAT_FreeBSD_4. If that environment variable does not exist, then check_utility_compat() will attempt to read the contents of a symbolic link named /etc/compat-FreeBSD-4-util. If no configuration is found, compatibility mode is disabled.RETURN VALUESThe check_utility_compat() function returns zero if utility should implement strict IEEE Std 1003.1-2001 (``POSIX.1'') behavior, and nonzero otherwise.FILES/etc/compat-FreeBSD-4-util If present, a symbolic link whose expansion gives system-wide default settings for the check_utility_compat() function.ERRORSNo errors are detected.HISTORYThe check_utility_compat() function first appeared in FreeBSD 5.0.AUTHORSThis manual page was written by Garrett Wollman <wollman@FreeBSD.org>.BSDOctober 27, 2002 BSD
Related Man Pages |
---|
getconf(1) - mojave |
pselect(2) - debian |
check_utility_compat(3) - freebsd |
pselect(3) - osx |
expr(1) - freebsd |
Similar Topics in the Unix Linux Community |
---|
Unix File Permissions |
FreeBSD Kernel Internals, Dr. Marshall Kirk McKusick |
Scripts without shebang |
Memory Leaks |