Query: af_error
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
af_error(3) Attribute Filesystem (AtFS) af_error(3)NAMEaf_errno, af_perror, af_errmsg, af_cleanup - AtFS error handlingSYNOPSIS#include <atfs.h> int af_errno void af_perror (char *string) char*af_errmsg (char *string) int af_cleanup (void)DESCRIPTIONaf_errno is the global AtFS error number variable. If an AtFS functions returns with an error, af_errno is set to indicate the appropriate error number. It is not cleared upon successful calls. The af_intro(3) manual page gives an overview of all error codes. af_perror produces a short error message of the form described in perror(3). This message will be written to standard error. If the last error encountered during an AtFS application was an AtFS-specific error, a corresponding message is generated, otherwise af_perror calls perror(3). af_errmsg does the same as af_perror but returns the message rather than writing to standard error. The result string resides in static memory and hence will be overwritten on subsequent calls of af_errmsg. Af_cleanup serves as cleanup routine upon premature termination of an AtFS application. It removes temporary files and frees all allocated memory.SEE ALSOintro(2), af_intro(3), perror(3) AtFS-1.71 Fri Jun 25 14:33:06 1993 af_error(3)
Related Man Pages |
---|
af_access(3) - debian |
af_cleanup(3) - debian |
af_error(3) - debian |
af_history(3) - debian |
af_history(3) - bsd |
Similar Topics in the Unix Linux Community |
---|
Adding the individual columns of a matrix. |
Find columns in a file based on header and print to new file |
A (ksh) Library For and From UNIX.com |
New UNIX and Linux History Sections |