02.07.2013 Views

A/UX® Programmer's Reference Sections

A/UX® Programmer's Reference Sections

A/UX® Programmer's Reference Sections

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

pathconf(3P) pathconf(3P)<br />

NAME<br />

pathconf, fpathconf - get configurable pathname<br />

variables<br />

SYNOPSIS<br />

finclude <br />

long pathconf (path, name)<br />

char *path;<br />

int name;<br />

long fpathconf (fildes, name)<br />

int fildes, name;<br />

DESCRIPTION<br />

pathconf and fpathconf provide a method for an application<br />

to determine the current value of a configurable limit or option<br />

that is associated with a file or directory.<br />

For fpathconf, path points to a pathname of a file or directory.<br />

For fpathconf, fildes is an open file descriptor. name is the<br />

variable to be queried relative to the file or directory. The following<br />

variables can be queried:<br />

PC LINK MAX<br />

- - -<br />

-<br />

PC<br />

-<br />

MAX<br />

-<br />

CANON<br />

-<br />

PC<br />

-<br />

MAX<br />

-<br />

INPUT<br />

-<br />

PC<br />

-<br />

NAME MAX<br />

-<br />

PC PATH MAX<br />

- - -<br />

-<br />

PC<br />

-<br />

PIPE<br />

-<br />

BUF<br />

PC CHOWN RESTRICTED<br />

-<br />

PC<br />

-<br />

CHOWN<br />

--<br />

SUP GRP<br />

-<br />

PC DIR DOTS<br />

- -<br />

PC GROUP PARENT<br />

-<br />

PC<br />

-<br />

LINK<br />

-<br />

DIR<br />

-<br />

PC<br />

-<br />

NO<br />

-<br />

TRUNC<br />

PC UTIME OWNER<br />

PC VDISABLE<br />

RETURN VALUE<br />

If the named variable is not defined on the system, or if name is<br />

not a valid variable name, or if the variable cannot be associated<br />

with the specified file or directory, or if the process does not have<br />

permission to query the file specified by path, or if path does not<br />

exist, pathconf returns-1.<br />

February, 1990<br />

Revision C<br />

1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!