1N/A.fp 5 CW
1N/A.de Af
1N/A.ds ;G \\*(;G\\f\\$1\\$3\\f\\$2
1N/A.if !\\$4 .Af \\$2 \\$1 "\\$4" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9"
1N/A..
1N/A.de aF
1N/A.ie \\$3 .ft \\$1
1N/A.el \{\
1N/A.ds ;G \&
1N/A.nr ;G \\n(.f
1N/A.Af "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9"
1N/A\\*(;G
1N/A.ft \\n(;G \}
1N/A..
1N/A.de L
1N/A.aF 5 \\n(.f "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7"
1N/A..
1N/A.de LR
1N/A.aF 5 1 "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7"
1N/A..
1N/A.de RL
1N/A.aF 1 5 "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7"
1N/A..
1N/A.de EX \" start example
1N/A.ta 1i 2i 3i 4i 5i 6i
1N/A.PP
1N/A.RS
1N/A.PD 0
1N/A.ft 5
1N/A.nf
1N/A..
1N/A.de EE \" end example
1N/A.fi
1N/A.ft
1N/A.PD
1N/A.RE
1N/A.PP
1N/A..
1N/A.TH COMPATIBILITY 3
1N/A.SH NAME
1N/Acompatibility \- ast library compatibility routines
1N/A.SH SYNOPSIS
1N/A.EX
1N/A#include <ast.h>
1N/A
1N/Aint atexit(void(*)(void));
1N/Achar* confstr(int);
1N/Aint dup2(int, int);
1N/Along fpathconf(int, int);
1N/Aint getgroups(int, int*);
1N/Achar* getwd(char*);
1N/Aint killpg(int, int);
1N/Aint link(const char*, const char*);
1N/Aint lstat(const char*, struct stat*);
1N/Aint memcmp(const char*, const char*, unsigned int);
1N/Achar* memcpy(char*, const char*, int);
1N/Achar* memset(char*, char, int);
1N/Aint mkdir(const char*, mode_t);
1N/Aint mkfifo(const char*, mode_t);
1N/Aint mknod(const char*, mode_t);
1N/Achar* mktemp(char*);
1N/Aint mount(const char*, const char*, int);
1N/Along pathconf(const char*, int);
1N/Aint perror(const char*);
1N/AFILE* popen(const char*, const char*);
1N/Aint readlink(const char*, char*, int);
1N/Aint remove(const char*);
1N/Aint rename(const char*, const char*);
1N/Aint rmdir(const char*);
1N/Aint setpgid(pid_t, pid_t);
1N/Aint sigmask(int);
1N/Aint sigsetmask(long);
1N/Aint sigunblock(int);
1N/Achar* strchr(const char*, int);
1N/Achar* strrchr(const char*, int);
1N/Adouble strtod(const char*, char**);
1N/Along strtol(const char*, char**, int);
1N/Aint symlink(const char*, const char*);
1N/Along sysconf(int);
1N/Aint system(const char*);
1N/Achar* tmpnam(char*);
1N/Aint unlink(const char*);
1N/Aint vfork(void);
1N/Aint waitpid(pid_t, int*, int);
1N/A.EE
1N/A.SH DESCRIPTION
1N/AThese routines are described in the ANSI C, POSIX, BSD and System V manual
1N/Asections 2 and 3.
1N/AThe interfaces are preserved and present in all libast implementations.
1N/AWhere conflicts exist the POSIX syntax and semantics are implied.
1N/AThe appropriate error value is returned and
1N/A.I errno
1N/Ais set to
1N/A.L EINVAL
1N/Awhen emulation is either too expensive or not possible.
1N/A.SH CAVEATS
1N/AIf you
1N/A.L "#undef foo"
1N/Aand then call
1N/A.L foo
1N/Ayou may end up with the local implementation of
1N/A.LR foo ,
1N/Aand then you get what you payed for.