*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> check_utility_compat (3)              
Title
Content
Arch
Section
 

Contents


CHECK_UTILITY_COMPA... FreeBSD Library Functions Manual CHECK_UTILITY_COMPA...

NAME    [Toc]    [Back]

     check_utility_compat -- determine whether a utility should be compatible

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

     #include <unistd.h>

     int
     check_utility_compat(const char *utility);

DESCRIPTION    [Toc]    [Back]

     The 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 variable
     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 VALUES    [Toc]    [Back]

     The check_utility_compat() function returns zero if utility should implement
 strict IEEE Std 1003.1-2001 (``POSIX.1'') behavior, and nonzero otherwise.

ERRORS    [Toc]    [Back]

     No errors are detected.

FILES    [Toc]    [Back]

     /etc/compat-FreeBSD-4-util  If present, a symbolic link whose expansion
				 gives system-wide default settings for the
				 check_utility_compat() function.

HISTORY    [Toc]    [Back]

     The check_utility_compat() function first appeared in FreeBSD 5.0.

AUTHORS    [Toc]    [Back]

     This manual page was written by Garrett Wollman <[email protected]>.


FreeBSD 5.2.1		       October 27, 2002 		 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
cccp NetBSD The GNU C-Compatible Compiler Preprocessor.
cpp FreeBSD The GNU C-Compatible Compiler Preprocessor.
cpp OpenBSD The GNU C-Compatible Compiler Preprocessor.
nfsd Tru64 The remote NFS compatible server
cent HP-UX Centronics-compatible interface
ne OpenBSD NE2000 and compatible Ethernet driver
nfsiod Tru64 The local NFS compatible asynchronous I/O daemon
biod Tru64 The local NFS compatible asynchronous I/O daemon
killpg HP-UX 4.2 BSD-compatible process control facilities
SgGraph IRIX An OSF/Motif-compatible graph widget.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service