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  -  EXPLAIN (3)

NAME

libexplain - Explain errno values returned by libc functions

CONTENTS

Synopsis
Description
     Race Condition
     Compiling
     Environment Variable
Supported System Calls
See Also
Copyright
Author

SYNOPSIS

cc ... -lexplain;

#include <libexplain/libexplain.h>

DESCRIPTION

The libexplain library exists to give explanations of error reported by system calls. The error message returned by I]strerror(3) tend to be quite cryptic. By providing a specific error report for each system call, a more detailed error message is possible, usually identifying and describing the specific cause from amongst the numerous meanings each I]errno value maps to.

    Race Condition

The explanation of the cause of an error is dependent on the environment of the error to remain unchanged, so that when libexplain gets around to looking for the cause, the cause is still there. On a running system, and particularly a multi[hy]user system, this is not always possible.

If an incorrect explanation is provided, it is possible that the cause is no longer present.

    Compiling

Assuming the library header files has been installed into CW]/usr/include, and the library files have been installed into CW]/usr/lib, compiling against libexplain requires no special CW]-I options.

When linking your pograms, add CW]-lexplain to the list of libraries at the end of your link line.

cc ... -lexplain

When you configure your package with GNU Autoconf, you need the large file support macro

AC_SYS_LARGEFILE

If you aren’t using GNU Autoconf, you will have to work out the needed large file support requirements yourdelf.

There is a I]pkg[hy]config(1) package for you to use, too:

CFLAGS="$CFLAGS ‘pkg-config libexplain --cflags‘" LIBS="$LIBS ‘pkg-config libexplain --libs‘"
This can make figuring out the command line requirements much easier.

    Environment Variable

The CW]EXPLAIN_OPTIONS environment variable may be used to control some of the content in the messages. Options are separated by comma ([lq],[rq]) characters.

There are three ways to set an option:
1. The form [lq]I]name=I]value[rq] may be used explicitly. The values [lq]true[rq] and [lq]false[rq] are used for boolean options.
2. An option name alone is interpreted to mean [lq]I]name=true[rq].
3. The form [lq]no[hy]I]name[rq] is interpreted to mean [lq]I]name=false[rq].
The following options are available:
debug Additional debugging messages for libexplain developers. Not generally useful to clients of the library.
Default: false.
extra[hy]device[hy]info
  Additional information for block and character special devices is printed when naming a file and its type.
Default: true
numeric[hy]errno
  This option includes the numeric I]errno value in the message, I]e.g. [lq](2, ENOENT)[rq] rather than [lq](ENOENT)[rq]. Disabling this option is generally of use in automated testing, to prevent UNIX dialect differences from producing false negatives.
Default: true
dialect[hy]specific
  This controls the presence of explanatory text specific to a particular UNIX dialect. It also suppresses printing system specific maximums. Disabling this option is generally of use in automated testing, to prevent UNIX dialect differences from producing false negatives.
Default: true.
hanging[hy]indent
  This controls the hanging indent depth used for error message wrapping. By default no hanging indent is used, but this can sometimes obfuscate the end of one error message and the beginning of another. A hanging indent results in continuation lines starting with white spoace, similar to RFC822 headers. A value of 0 means no hanging indent (all lines flush with left margin). A common value to use is 4: it doesn’t consume to much of each line, and it is a clear indent. The program may choose to override the environment variable using the I]explain_option_hanging_indent_set(3) function. The hanging indent is limited to 10% of the terminal width.
Default: 0
internal[hy]strerror
  This option controls the source of system eror message texts. If false, it uses I]streror\P(3) for the text. If true, it uses internal string for the text. This is mostly of use for automated testing, to avoid false negatives induced by inconsistencies across Unix implementations.
Default: false.
program[hy]name
  This option controls the inclusion of the program name at the start of error messages, by the explain_*_or_die and explain_*_on_error functions. This helps users understand which command is throwing the error. Disabling this option may be of some interest to script writers. Program developers can use the I]explain_program_name_set(3) function to set the name of the command, if they wish to override the name that libexplain would otherwise obtain from the operating system. Program developers can use the I]explain_program_name_assemble(3) function to trump this option.
Default: true.
symbolic[hy]mode[hy]bits
  This option controls how permission mode bits are represented in error messages. Setting this option to true will cause symbolic names to be printed (I]e.g. S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH). Setting this option to false will cause octal values to be printed (I]e.g. 0644).
Default: false.

Supported System Calls

Each supported system call has its own I]man page.
I]explain_accept(3)
  Explain I]accept(2) errors
I]explain_accept_or_die(3)
  accept a connection on a socket and report errors
I]explain_accept4(3)
  Explain I]accept4(2) errors
I]explain_accept4_or_die(3)
  accept a connection on a socket and report errors
I]explain_access(3)
  Explain I]access(2) errors
I]explain_access_or_die(3)
  check permissions for a file and report errors
I]explain_acct(3)
  Explain I]acct(2) errors
I]explain_acct_or_die(3)
  process accounting control and report errors
I]explain_acl_from_text(3)
  Explain I]acl_from_text(3) errors
I]explain_acl_from_text_or_die(3)
  create an ACL from text and report errors
I]explain_acl_get_fd(3)
  Explain I]acl_get_fd(3) errors
I]explain_acl_get_fd_or_die(3)
  Execute I]acl_get_fd(3) and report errors
I]explain_acl_get_file(3)
  Explain I]acl_get_file(3) errors
I]explain_acl_get_file_or_die(3)
  Execute I]acl_get_file(3) and report errors
I]explain_acl_set_fd(3)
  Explain I]acl_set_fd(3) errors
I]explain_acl_set_fd_or_die(3)
  set an ACL by file descriptor and report errors
I]explain_acl_set_file(3)
  Explain I]acl_set_file(3) errors
I]explain_acl_set_file_or_die(3)
  set an ACL by filename and report errors
I]explain_acl_to_text(3)
  Explain I]acl_to_text(3) errors
I]explain_acl_to_text_or_die(3)
  convert an ACL to text and report errors
I]explain_adjtime(3)
  Explain I]adjtime(2) errors
I]explain_adjtime_or_die(3)
  smoothly tune kernel clock and report errors
I]explain_adjtimex(3)
  Explain I]adjtimex(2) errors
I]explain_adjtimex_or_die(3)
  tune kernel clock and report errors
I]explain_asprintf(3)
  Explain I]asprintf(3) errors
I]explain_asprintf_or_die(3)
  print to allocated string and report errors
I]explain_bind(3)
  Explain I]bind(2) errors
I]explain_bind_or_die(3)
  bind a name to a socket and report errors
I]explain_calloc(3)
  Explain I]calloc(3) errors
I]explain_calloc_or_die(3)
  Allocate and clear memory and report errors
I]explain_chdir(3)
  Explain I]chdir(2) errors
I]explain_chdir_or_die(3)
  change working directory and report errors
I]explain_chmod(3)
  Explain I]chmod(2) errors
I]explain_chmod_or_die(3)
  change permissions of a file and report errors
I]explain_chown(3)
  Explain I]chown errors
I]explain_chown_or_die(3)
  change ownership of a file and report errors
I]explain_chroot(3)
  Explain I]chroot(2) errors
I]explain_chroot_or_die(3)
  change root directory and report errors
I]explain_close(3)
  Explain I]close(2) errors
I]explain_close_or_die(3)
  close a file descriptor and report errors
I]explain_closedir(3)
  Explain I]closedir(3) errors
I]explain_closedir_or_die(3)
  close a directory and report errors
I]explain_connect(3)
  Explain I]connect(2) errors
I]explain_connect_or_die(3)
  initiate a connection on a socket and report errors
I]explain_creat(3)
  Explain I]creat(2) errors
I]explain_creat_or_die(3)
  create and open a file and report errors
I]explain_dirfd(3)
  Explain I]dirfd(3) errors
I]explain_dirfd_or_die(3)
  get directory stream file descriptor and report errors
I]explain_dup(3)
  Explain I]dup(2) errors
I]explain_dup_or_die(3)
  duplicate a file descriptor and report errors
I]explain_dup2(3)
  Explain I]dup2(2) errors
I]explain_dup2_or_die(3)
  duplicate a file descriptor and report errors
I]explain_endgrent(3)
  Explain I]endgrent(3) errors
I]explain_endgrent_or_die(3)
  finish group file accesses and report errors
I]explain_eventfd(3)
  Explain I]eventfd(2) errors
I]explain_eventfd_or_die(3)
  create a file descriptor for event notification and report errors
I]explain_execlp(3)
  Explain I]execlp(3) errors
I]explain_execlp_or_die(3)
  execute a file and report errors
I]explain_execv(3)
  Explain I]execv(3) errors
I]explain_execv_or_die(3)
  execute a file and report errors
I]explain_execve(3)
  Explain I]execve(2) errors
I]explain_execve_or_die(3)
  execute program and report errors
I]explain_execvp(3)
  Explain I]execvp(3) errors
I]explain_execvp_or_die(3)
  execute program and report errors
I]explain_exit(3)
  print an explanation of exit status before exiting
I]explain_fchdir(3)
  Explain I]fchdir(2) errors
I]explain_fchmod(3)
  Explain I]fchmod(2) errors
I]explain_fchmod_or_die(3)
  change permissions of an open file and report errors
I]explain_fchown(3)
  Explain I]fchown(2) errors
I]explain_fchown_or_die(3)
  change ownership of a file and report errors
I]explain_fchownat(3)
  Explain I]fchownat(2) errors
I]explain_fchownat_or_die(3)
  change ownership of a file relative to a directory and report errors
I]explain_fclose(3)
  Explain I]fclose(2) errors
I]explain_fclose_or_die(3)
  close a stream and report errors
I]explain_fcntl(3)
  Explain I]fcntl(2) errors
I]explain_fcntl_or_die(3)
  Manipulate a file descriptor and report errors
I]explain_fdopen(3)
  Explain I]fdopen(3) errors
I]explain_fdopen_or_die(3)
  stream open function and report errors
I]explain_fdopendir(3)
  Explain I]fdopendir(3) errors
I]explain_fdopendir_or_die(3)
  open a directory and report errors
I]explain_feof(3)
  Explain I]feof(3) errors
I]explain_feof_or_die(3)
  check and reset stream status and report errors
I]explain_ferror(3)
  Explain I]ferror(3) errors
I]explain_ferror_or_die(3)
  check stream status and report errors
I]explain_fflush(3)
  Explain I]fflush(3) errors
I]explain_fflush_or_die(3)
  flush a stream and report errors
I]explain_fgetc(3)
  Explain I]fgetc(3) errors
I]explain_fgetc_or_die(3)
  input of characters and report errors
I]explain_fgetpos(3)
  Explain I]fgetpos(3) errors
I]explain_fgetpos_or_die(3)
  reposition a stream and report errors
I]explain_fgets(3)
  Explain I]fgets(3) errors
I]explain_fgets_or_die(3)
  input of strings and report errors
I]explain_fileno(3)
  Explain I]fileno(3) errors
I]explain_fileno_or_die(3)
  check and reset stream status and report errors
I]explain_flock(3)
  Explain I]flock(2) errors
I]explain_flock_or_die(3)
  apply or remove an advisory lock on an open file and report errors
I]explain_fopen(3)
  Explain I]fopen(3) errors
I]explain_fopen_or_die(2)
  open files and report errors
I]explain_fork(3)
  Explain I]fork(2) errors
I]explain_fork_or_die(3)
  create a child process and report errors
I]explain_fpathconf(3)
  Explain I]fpathconf(3) errors
I]explain_fpathconf_or_die(3)
  get configuration values for files and report errors
I]explain_fprintf(3)
  Explain I]fprintf(3) errors
I]explain_fprintf_or_die(3)
  formatted output conversion and report errors
I]explain_fpurge(3)
  Explain I]fpurge(3) errors
I]explain_fpurge_or_die(3)
  purge a stream and report errors
I]explain_fputc(3)
  Explain I]fputc(3) errors
I]explain_fputc_or_die(3)
  output of characters and report errors
I]explain_fputs(3)
  Explain I]fputs(3) errors
I]explain_fputs_or_die(3)
  write a string to a stream and report errors
I]explain_fread(3)
  Explain I]fread(3) errors
I]explain_fread_or_die(3)
  binary stream input and report errors
I]explain_freopen(3)
  Explain I]freopen(3) errors
I]explain_freopen_or_die(3)
  open files and report errors
I]explain_fseek(3)
  Explain I]fseek(3) errors
I]explain_fseek_or_die(3)
  reposition a stream and report errors
I]explain_fseeko(3)
  Explain I]fseeko(3) errors
I]explain_fseeko_or_die(3)
  seek to or report file position and report errors
I]explain_fsetpos(3)
  Explain I]fsetpos(3) errors
I]explain_fsetpos_or_die(3)
  reposition a stream and report errors
I]explain_fstat(3)
  Explain I]fstat(3) errors
I]explain_fstat_or_die(3)
  get file status and report errors
I]explain_fstatat(3)
  Explain I]fstatat(2) errors
I]explain_fstatat_or_die(3)
  get file status relative to a directory file descriptor and report errors
I]explain_fstatfs(3)
  Explain I]fstatfs(2) errors
I]explain_fstatfs_or_die(3)
  get file system statistics and report errors
I]explain_fstatvfs(3)
  Explain I]fstatvfs(2) errors
I]explain_fstatvfs_or_die(3)
  get file system statistics and report errors
I]explain_fsync(3)
  Explain I]fsync(2) errors
I]explain_fsync_or_die(3)
  synchronize a file’s in[hy]core state with storage device and report errors
I]explain_ftell(3)
  Explain I]ftell(3) errors
I]explain_ftell_or_die(3)
  get stream position and report errors
I]explain_ftello(3)
  Explain I]ftello(3) errors
I]explain_ftello_or_die(3)
  get stream position and report errors
I]explain_ftime(3)
  Explain I]ftime(3) errors
I]explain_ftime_or_die(3)
  return date and time and report errors
I]explain_ftruncate(3)
  Explain I]ftruncate(2) errors
I]explain_ftruncate_or_die(3)
  truncate a file to a specified length and report errors
I]explain_futimens(3)
  Explain I]futimens(3) errors
I]explain_futimens_or_die(3)
  change file timestamps with nanosecond precision and report errors
I]explain_futimes(3)
  Explain I]futimes(3) errors
I]explain_futimes_or_die(3)
  Execute I]futimes(3) and report errors
I]explain_futimesat(3)
  Explain I]futimesat(2) errors
I]explain_futimesat_or_die(3)
  change timestamps of a file relative to a directory and report errors
I]explain_fwrite(3)
  Explain I]fwrite(3) errors
I]explain_fwrite_or_die(3)
  binary stream output and report errors
I]explain_futimesat(3)
  Explain I]futimesat(2) errors
I]explain_futimesat_or_die(3)
  change timestamps of a file relative to a directory and report errors
I]explain_getaddrinfo(3)
  Explain I]getaddrinfo(3) errors
I]explain_getaddrinfo_or_die(3)
  network address and and report errors
I]explain_getc(3)
  Explain I]getc(3) errors
I]explain_getc_or_die(3)
  input of characters and report errors
I]explain_getchar(3)
  Explain I]getchar(3) errors
I]explain_getchar_or_die(3)
  input of characters and report errors
I]explain_getcwd(3)
  Explain I]getcwd(2) errors
I]explain_getdomainname(3)
  Explain I]getdomainname(2) errors
I]explain_getdomainname_or_die(3)
  get domain name and report errors
I]explain_getgrent(3)
  Explain I]getgrent(3) errors
I]explain_getgrent_or_die(3)
  get group file entry and report errors
I]explain_getgrouplist(3)
  Explain I]getgrouplist(3) errors
I]explain_getgrouplist_or_die(3)
  get list of groups to which a user belongs and report errors
I]explain_getgroups(3)
  Explain I]getgroups(2) errors
I]explain_getgroups_or_die(3)
  get list of supplementary group IDs and report errors
I]explain_getcwd_or_die(3)
  Get current working directory and report errors
I]explain_gethostbyname(3)
  Explain I]gethostbyname(3) errors
I]explain_gethostbyname_or_die(3)
  get host address given host name and report errors
I]explain_gethostid(3)
  Explain I]gethostid(3) errors
I]explain_gethostid_or_die(3)
  get the unique identifier of the current host and report errors
I]explain_gethostname(3)
  Explain I]gethostname(2) errors
I]explain_gethostname_or_die(3)
  get hostname and report errors
I]explain_getpeername(3)
  Explain I]getpeername(2) errors
I]explain_getpeername_or_die(3)
  ExecuteI]getpeername(2) and report errors
I]explain_getpgid(3)
  Explain I]getpgid(2) errors
I]explain_getpgid_or_die(3)
  get process group and report errors
I]explain_getpgrp(3)
  Explain I]getpgrp(2) errors
I]explain_getpgrp_or_die(3)
  get process group and report errors
I]explain_getpriority(3)
  Explain I]getpriority(2) errors
I]explain_getpriority_or_die(3)
  get program scheduling priority and report errors
I]explain_getresgid(3)
  Explain I]getresgid(2) errors
I]explain_getresgid_or_die(3)
  get real, effective and saved group IDs and report errors
I]explain_getresuid(3)
  Explain I]getresuid(2) errors
I]explain_getresuid_or_die(3)
  get real, effective and saved user IDs and report errors
I]explain_getrlimit(3)
  Explain I]getrlimit(2) errors
I]explain_getrlimit_or_die(3)
  get resource limits and report errors
I]explain_getrusage(3)
  Explain I]getrusage(2) errors
I]explain_getrusage_or_die(3)
  get resource usage and report errors
I]explain_getsockname(3)
  Explain I]getsockname(2) errors
I]explain_getsockname_or_die(3)
  Execute I]getsockname(2) and report errors
I]explain_getsockopt(3)
  Explain I]getsockopt(2) errors
I]explain_getsockopt_or_die(3)
  Execute I]getsockopt(2) and report errors
I]explain_gettimeofday(3)
  Explain I]gettimeofday(2) errors
I]explain_gettimeofday_or_die(3)
  get time and report errors
I]explain_getw(3)
  Explain I]getw(3) errors
I]explain_getw_or_die(3)
  input a word (int) and report errors
I]explain_iconv(3)
  Explain I]iconv(3) errors
I]explain_iconv_or_die(3)
  perform character set conversion and report errors
I]explain_iconv_close(3)
  Explain I]iconv_close(3) errors
I]explain_iconv_close_or_die(3)
  deallocate descriptor for character set conversion and report errors
I]explain_iconv_open(3)
  Explain I]iconv_open(3) errors
I]explain_iconv_open_or_die(3)
  allocate descriptor for character set conversion and report errors
I]explain_ioctl(3)
  Explain I]ioctl(2) errors
I]explain_ioctl_or_die(3)
  Execute I]ioctl(2) and report errors
I]explain_kill(3)
  Explain I]kill(2) errors
I]explain_kill_or_die(3)
  send signal to a process and report errors
I]explain_lchmod(3)
  Explain I]lchmod(2) errors
I]explain_lchmod_or_die(3)
  change permissions of a file and report errors
I]explain_lchown(3)
  Explain I]lchown(2) errors
I]explain_lchown_or_die(3)
  change ownership of a file and report errors
I]explain_lchownat(3)
  Explain I]lchownat(2) errors
I]explain_lchownat_or_die(3)
  Execute I]lchownat(2) and report errors
I]explain_link(3)
  Explain I]link(2) errors
I]explain_link_or_die(3)
  make a new name for a file and report errors
I]explain_listen(3)
  Explain I]listen(2) errors
I]explain_listen_or_die(3)
  listen for connections on a socket and report errors
I]explain_lseek(3)
  Explain I]lseek(2) errors
I]explain_lseek_or_die(3)
  reposition file offset and report errors
I]explain_lstat(3)
  Explain I]lstat(2) errors
I]explain_lstat_or_die(3)
  get file status and report errors
I]explain_lutimes(3)
  Explain I]lutimes(3) errors
I]explain_lutimes_or_die(3)
  modify file timestamps and report errors
I]explain_malloc(3)
  Explain I]malloc(3) errors
I]explain_malloc_or_die(3)
  Execute I]malloc(3) and report errors
I]explain_mkdir(3)
  Explain I]mkdir(2) errors
I]explain_mkdir_or_die(3)
  create directory and report errors
I]explain_mkdtemp(3)
  Explain I]mkdtemp(3) errors
I]explain_mkdtemp_or_die(3)
  create a unique temporary directory and report errors
I]explain_mknod(3)
  Explain I]mknod(2) errors
I]explain_mknod_or_die(3)
  create a special or ordinary file and report errors
I]explain_mkostemp(3)
  Explain I]mkostemp(3) errors
I]explain_mkostemp_or_die(3)
  create a unique temporary file and report errors
I]explain_mkstemp(3)
  Explain I]mkstemp(3) errors
I]explain_mkstemp_or_die(3)
  create a unique temporary file and report errors
I]explain_mktemp(3)
  Explain I]mktemp(3) errors
I]explain_mktemp_or_die(3)
  make a unique temporary filename and report errors
I]explain_mmap(3)
  Explain I]mmap(2) errors
I]explain_mmap_or_die(3)
  map file or device into memory and report errors
I]explain_mount(3)
  Explain I]mount(2) errors
I]explain_mount_or_die(3)
  mount file system and report errors
I]explain_munmap(3)
  Explain I]munmap(2) errors
I]explain_munmap_or_die(3)
  unmap a file or device from memory and report errors
I]explain_nanosleep(3)
  Explain I]nanosleep(2) errors
I]explain_nanosleep_or_die(3)
  high[hy]resolution sleep and report errors
I]explain_nice(3)
  Explain I]nice(2) errors
I]explain_nice_or_die(3)
  change process priority and report errors
I]explain_open(3)
  Explain I]open(2) errors
I]explain_open_or_die(3)
  open files and report errors
I]explain_openat(3)
  Explain I]openat(2) errors
I]explain_openat_or_die(3)
  open a file relative to a directory file descriptor and report errors
I]explain_opendir(3)
  Explain I]opendir(3) errors
I]explain_opendir_or_die(3)
  open a directory and report errors
I]explain_pathconf(3)
  Explain I]pathconf(3) errors
I]explain_pathconf_or_die(3)
  get configuration values for files and report errors
I]explain_pclose(3)
  Explain I]pclose(3) errors
I]explain_pclose_or_die(3)
  Execute I]pclose(3) and report errors
I]explain_pipe(3)
  Explain I]pipe(2) errors
I]explain_pipe_or_die(3)
  Execute I]pipe(2) and report errors
I]explain_pipe2(3)
  Explain I]pipe2(2) errors
I]explain_pipe2_or_die(3)
  create pipe and report errors
I]explain_poll(3)
  Explain I]poll(2) errors
I]explain_poll_or_die(3)
  wait for some event on a file descriptor and report errors
I]explain_popen(3)
  Explain I]popen(3) errors
I]explain_popen_or_die(3)
  Execute I]popen(3) and report errors
I]explain_pread(3)
  Explain I]pread(2) errors
I]explain_pread_or_die(3)
  read from a file descriptor at a given offset and report errors
I]explain_printf(3)
  Explain I]printf(3) errors
I]explain_printf_or_die(3)
  formatted output conversion and report errors
I]explain_ptrace(3)
  Explain I]ptrace(2) errors
I]explain_ptrace_or_die(3)
  process trace and report errors
I]explain_putc(3)
  Explain I]putc(3) errors
I]explain_putc_or_die(3)
  output of characters and report errors
I]explain_putchar(3)
  Explain I]putchar(3) errors
I]explain_putchar_or_die(3)
  output of characters and report errors
I]explain_putenv(3)
  Explain I]putenv(3) errors
I]explain_putenv_or_die(3)
  change or add an environment variable and report errors
I]explain_puts(3)
  Explain I]puts(3) errors
I]explain_puts_or_die(3)
  write a string and a trailing newline to stdout and report errors
I]explain_putw(3)
  Explain I]putw(3) errors
I]explain_putw_or_die(3)
  output a word (int) and report errors
I]explain_pwrite(3)
  Explain I]pwrite(2) errors
I]explain_pwrite_or_die(3)
  write to a file descriptor at a given offset and report errors
I]explain_raise(3)
  Explain I]raise(3) errors
I]explain_raise_or_die(3)
  send a signal to the caller and report errors
I]explain_read(3)
  Explain I]read(2) errors
I]explain_read_or_die(3)
  read from a file descriptor and report errors
I]explain_readdir(3)
  Explain I]readdir(3) errors
I]explain_readdir_or_die(3)
  read a directory and report errors
I]explain_readlink(3)
  Explain I]readlink(2) errors
I]explain_readlink_or_die(3)
  read value of a symbolic link and report errors
I]explain_readv(3)
  Explain I]readv(2) errors
I]explain_readv_or_die(3)
  read data into multiple buffers and report errors
I]explain_realloc(3)
  Explain I]realloc(3) errors
I]explain_realloc_or_die(3)
  Execute I]realloc(3) and report errors
I]explain_realpath(3)
  Explain I]realpath(3) errors
I]explain_realpath_or_die(3)
  return the canonicalized absolute pathname and report errors
I]explain_rename(3)
  Explain I]rename(2) errors
I]explain_rename_or_die(3)
  change the name or location of a file and report errors
I]explain_rmdir(3)
  Explain I]rmdir(2) errors
I]explain_rmdir_or_die(3)
  delete a directory and report errors
I]explain_select(3)
  Explain I]select(2) errors
I]explain_select_or_die(3)
  execute I]select(2) and report errors
I]explain_setbuf(3)
  Explain I]setbuf(3) errors
I]explain_setbuffer(3)
  Explain I]setbuffer(3) errors
I]explain_setbuffer_or_die(3)
  stream buffering operations and report errors
I]explain_setbuf_or_die(3)
  set stream buffer and report errors
I]explain_setdomainname(3)
  Explain I]setdomainname(2) errors
I]explain_setdomainname_or_die(3)
  set domain name and report errors
I]explain_setenv(3)
  Explain I]setenv(3) errors
I]explain_setenv_or_die(3)
  change or add an environment variable and report errors
I]explain_setgid(3)
  Explain I]setgid(2) errors
I]explain_setgid_or_die(3)
  set group identity and report errors
I]explain_setgrent(3)
  Explain I]setgrent(3) errors
I]explain_setgrent_or_die(3)
  rewind to the start of the group database and report errors
I]explain_setgroups(3)
  Explain I]setgroups(2) errors
I]explain_setgroups_or_die(3)
  get list of supplementary group IDs and report errors
I]explain_sethostname(3)
  Explain I]sethostname(2) errors
I]explain_sethostname_or_die(3)
  set hostname and report errors
I]explain_setlinebuf(3)
  Explain I]setlinebuf(3) errors
I]explain_setlinebuf_or_die(3)
  stream buffering operations and report errors
I]explain_setpgid(3)
  Explain I]setpgid(2) errors
I]explain_setpgid_or_die(3)
  set process group and report errors
I]explain_setpgrp(3)
  Explain I]setpgrp(2) errors
I]explain_setpgrp_or_die(3)
  set process group and report errors
I]explain_setpriority(3)
  Explain I]setpriority(2) errors
I]explain_setpriority_or_die(3)
  set program scheduling priority and report errors
I]explain_setregid(3)
  Explain I]setregid(2) errors
I]explain_setregid_or_die(3)
  set real and/or effective group ID and report errors
I]explain_setreuid(3)
  Explain I]setreuid(2) errors
I]explain_setreuid_or_die(3)
  set the real and effective user ID and report errors
I]explain_setresgid(3)
  Explain I]setresgid(2) errors
I]explain_setresgid_or_die(3)
  set real, effective and saved group ID and report errors
I]explain_setresuid(3)
  Explain I]setresuid(2) errors
I]explain_setresuid_or_die(3)
  set real, effective and saved user ID and report errors
I]explain_setreuid(3)
  Explain I]setreuid(2) errors
I]explain_setreuid_or_die(3)
  set real and/or effective user ID and report errors
I]explain_setsid(3)
  Explain I]setsid(2) errors
I]explain_setsid_or_die(3)
  creates a session and sets the process group ID and report errors
I]explain_setsockopt(3)
  Explain I]setsockopt(2) errors
I]explain_setsockopt_or_die(3)
  execute I]setsockopt(2) and report errors
I]explain_settimeofday(3)
  Explain I]settimeofday(2) errors
I]explain_settimeofday_or_die(3)
  sets system time and report errors
I]explain_setuid(3)
  Explain I]setuid(2) errors
I]explain_setuid_or_die(3)
  set user identity and report errors
I]explain_setvbuf(3)
  Explain I]setvbuf(3) errors
I]explain_setvbuf_or_die(3)
  stream buffering operations and report errors
I]explain_shmat(3)
  Explain I]shmat(2) errors
I]explain_shmat_or_die(3)
  shared memory attach and report errors
I]explain_shmctl(3)
  Explain I]shmctl(2) errors
I]explain_shmctl_or_die(3)
  shared memory control and report errors
I]explain_signalfd(3)
  Explain I]signalfd(2) errors
I]explain_signalfd_or_die(3)
  create a file descriptor for accepting signals and report errors
I]explain_sleep(3)
  Explain I]sleep(3) errors
I]explain_sleep_or_die(3)
  Sleep for the specified number of seconds and report errors
I]explain_socket(3)
  Explain I]socket(2) errors
I]explain_socket_or_die(3)
  create an endpoint for communication and report errors
I]explain_socketpair(3)
  Explain I]socketpair(2) errors
I]explain_socketpair_or_die(3)
  create a pair of connected sockets and report errors
I]explain_sprintf(3)
  Explain I]sprintf(3) errors
I]explain_sprintf_or_die(3)
  formatted output conversion and report errors
I]explain_stat(3)
  Explain I]stat(2) errors
I]explain_statfs(3)
  Explain I]statfs(2) errors
I]explain_statfs_or_die(3)
  get file system statistics and report errors
I]explain_statvfs(3)
  Explain I]statvfs(2) errors
I]explain_statvfs_or_die(3)
  get file system statistics and report errors
I]explain_stime(3)
  Explain I]stime(2) errors
I]explain_stime_or_die(3)
  set system time and report errors
I]explain_strcoll(3)
  Explain I]strcoll(3) errors
I]explain_strcoll_or_die(3)
  compare two strings using the current locale and report errors
I]explain_strdup(3)
  Explain I]strdup(3) errors
I]explain_strdup_or_die(3)
  duplicate a string and report errors
I]explain_strndup(3)
  Explain I]strndup(3) errors
I]explain_strndup_or_die(3)
  duplicate a string and report errors
I]explain_strtod(3)
  Explain I]strtod(3) errors
I]explain_strtod_or_die(3)
  convert string to floating[hy]point number and report errors
I]explain_strtof(3)
  Explain I]strtof(3) errors
I]explain_strtof_or_die(3)
  convert string to floating[hy]point number and report errors
I]explain_strtol(3)
  Explain I]strtol(3) errors
I]explain_strtol_or_die(3)
  convert a string to a long integer and report errors
I]explain_strtold(3)
  Explain I]strtold(3) errors
I]explain_strtold_or_die(3)
  convert string to floating[hy]point number and report errors
I]explain_strtoll(3)
  Explain I]strtoll(3) errors
I]explain_strtoll_or_die(3)
  convert a string to a long long integer and report errors
I]explain_strtoul(3)
  Explain I]strtoul(3) errors
I]explain_strtoul_or_die(3)
  convert a string to a long long integer and report errors
I]explain_strtoull(3)
  Explain I]strtoull(3) errors
I]explain_strtoull_or_die(3)
  convert a string to an unsigned long long integer and report errors
I]explain_symlink(3)
  Explain I]symlink(2) errors
I]explain_symlink_or_die(3)
  make a new name for a file and report errors
I]explain_system(3)
  Explain I]system(3) errors
I]explain_system_or_die(3)
  execute a shell command and report errors
I]explain_tcdrain(3)
  Explain I]tcdrain(3) errors
I]explain_tcdrain_or_die(3)
  Execute I]tcdrain(3) and report errors
I]explain_tcflow(3)
  Explain I]tcflow(3) errors
I]explain_tcflow_or_die(3)
  Execute I]tcflow(3) and report errors
I]explain_tcflush(3)
  Explain I]tcflush(3) errors
I]explain_tcflush_or_die(3)
  discard terminal data and report errors
I]explain_tcgetattr(3)
  Explain I]tcgetattr(3) errors
I]explain_tcgetattr_or_die(3)
  get terminal parameters and report errors
I]explain_tcsendbreak(3)
  Explain I]tcsendbreak(3) errors
I]explain_tcsendbreak_or_die(3)
  send terminal line break and report errors
I]explain_tcsetattr(3)
  Explain I]tcsetattr(3) errors
I]explain_tcsetattr_or_die(3)
  set terminal attributes and report errors
I]explain_telldir(3)
  Explain I]telldir(3) errors
I]explain_telldir_or_die(3)
  return current location in directory stream and report errors
I]explain_tempnam(3)
  Explain I]tempnam(3) errors
I]explain_tempnam_or_die(3)
  create a name for a temporary file and report errors
I]explain_time(3)
  Explain I]time(2) errors
I]explain_time_or_die(3)
  get time in seconds and report errors
I]explain_timerfd_create(3)
  Explain I]timerfd_create(2) errors
I]explain_timerfd_create_or_die(3)
  timers that notify via file descriptors and report errors
I]explain_tmpfile(3)
  Explain I]tmpfile(3) errors
I]explain_tmpfile_or_die(3)
  create a temporary file and report errors
I]explain_tmpnam(3)
  Explain I]tmpnam(3) errors
I]explain_tmpnam_or_die(3)
  create a name for a temporary file and report errors
I]explain_truncate(3)
  Explain I]truncate(2) errors
I]explain_truncate_or_die(3)
  truncate a file to a specified length and report errors
I]explain_usleep(3)
  Explain I]usleep(3) errors
I]explain_usleep_or_die(3)
  suspend execution for microsecond intervals and report errors
I]explain_uname(3)
  Explain I]uname(2) errors
I]explain_uname_or_die(3)
  get name and information about current kernel and report errors
I]explain_ungetc(3)
  Explain I]ungetc(3) errors
I]explain_ungetc_or_die(3)
  push a character back to a stream and report errors
I]explain_unlink(3)
  Explain I]unlink(2) errors
I]explain_unlink_or_die(3)
  delete a file and report errors
I]explain_unsetenv(3)
  Explain I]unsetenv(3) errors
I]explain_unsetenv_or_die(3)
  remove an environment variable and report errors
I]explain_ustat(3)
  Explain I]ustat(2) errors
I]explain_ustat_or_die(3)
  get file system statistics and report errors
I]explain_utime(3)
  Explain I]utime(2) errors
I]explain_utime_or_die(3)
  change file last access and modification times and report errors
I]explain_utimens(3)
  Explain I]utimens(2) errors
I]explain_utimens_or_die(3)
  change file last access and modification times and report errors
I]explain_utimensat(3)
  Explain I]utimensat(2) errors
I]explain_utimensat_or_die(3)
  change file timestamps with nanosecond precision and report errors
I]explain_utimes(3)
  Explain I]utimes(2) errors
I]explain_utimes_or_die(3)
  change file last access and modification times and report errors
I]explain_vasprintf(3)
  Explain I]vasprintf(3) errors
I]explain_vasprintf_or_die(3)
  print to allocated string and report errors
I]explain_vfork(3)
  Explain I]vfork(2) errors
I]explain_vfork_or_die(3)
  create a child process and block parent and report errors
I]explain_vfprintf(3)
  Explain I]vfprintf(3) errors
I]explain_vfprintf_or_die(3)
  formatted output conversion and report errors
I]explain_vprintf(3)
  Explain I]vprintf(3) errors
I]explain_vprintf_or_die(3)
  formatted output conversion and report errors
I]explain_vsnprintf(3)
  Explain I]vsnprintf(3) errors
I]explain_vsnprintf_or_die(3)
  formatted output conversion and report errors
I]explain_snprintf(3)
  Explain I]snprintf(3) errors
I]explain_snprintf_or_die(3)
  formatted output conversion and report errors
I]explain_vsprintf(3)
  Explain I]vsprintf(3) errors
I]explain_vsprintf_or_die(3)
  formatted output conversion and report errors
I]explain_wait(3)
  Explain I]wait(2) errors
I]explain_wait_or_die(3)
  wait for process to change state and report errors
I]explain_wait3(3)
  Explain I]wait3(2) errors
I]explain_wait3_or_die(3)
  wait for process to change state and report errors
I]explain_wait4(3)
  Explain I]wait4(2) errors
I]explain_wait4_or_die(3)
  wait for process to change state and report errors
I]explain_waitpid(3)
  Explain I]waitpid(2) errors
I]explain_waitpid_or_die(3)
  wait for process to change state and report errors
I]explain_write(3)
  Explain I]write(2) errors
I]explain_write_or_die(3)
  write to a file descriptor and report errors
I]explain_writev(3)
  Explain I]writev(2) errors
I]explain_writev_or_die(3)
  write data from multiple buffers and report errors
There are plans for additional coverage. This list is expected to expand in later releases of this library.

SEE ALSO

I]errno(3)
  number of last error
I]perror(3)
  print a system error message
I]strerror(3)
  return string describing error number

COPYRIGHT

libexplain version 1.3
Copyright © 2008 Peter Miller

AUTHOR

Written by Peter Miller <pmiller@opensource.org.au>
Search for    or go to Top of page |  Section 3 |  Main Index


LIBEXPLAIN (3) -->

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