GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CHECK_UTILITY_COMPAT (3)

NAME

check_utility_compat - determine whether a utility should be compatible

CONTENTS

Library
Synopsis
Description
Return Values
Files
Errors
History
Authors

LIBRARY


.Lb libc

SYNOPSIS


.In unistd.h int check_utility_compat const char *utility

DESCRIPTION

The check_utility_compat function checks whether utility should behave in a traditional (Fx 4.7 -compatible) manner, or in accordance with -p1003.1-2001. 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

The check_utility_compat function returns zero if utility should implement strict -p1003.1-2001 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.

ERRORS

No errors are detected.

HISTORY

The check_utility_compat function first appeared in
.Fx 5.0 .

AUTHORS

This manual page was written by
.An Garrett Wollman Aq wollman@FreeBSD.org .
Search for    or go to Top of page |  Section 3 |  Main Index


Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.