Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
advio
daemons
datafiles
db
environ
exercises
figlinks
filedir
fileio
include
intro
ipc1
ipc2
lib
printer
proc
pty
relation
signals
sockets
standards
stdio
termios
threadctl
threads
DISCLAIMER
Make.defines.freebsd
Make.defines.linux
Make.defines.macos
Make.defines.solaris
Make.libapue.inc
Makefile
README
README.md
systype.sh

README.md

安装

Ubuntu

sudo apt-get install libbsd-dev
cd apue.3e
make
......

sudo cp ./include/apue.h /usr/include/
sudo cp ./lib/libapue.a /usr/local/lib/

MacOS

cd apue.3e
make
......

sudo cp ./include/apue.h /usr/local/include/
sudo cp ./lib/libapue.a /usr/local/lib/

编译

gcc filename.c -lapue