Preface -
Pthreads Programming
Bradford Nichols, Dick Buttlar and Jacqueline Proulx Farrell
Copyright © 1996 O'Reilly & Associates, Inc.
Example Programs
You can obtain the source code for the examples presented in this bookfromO'Reilly & Associates through their Internet server.
The example programs in this book are available electronically by FTP.
FTP
To use FTP, you need a machine with direct access to the Internet. A sample session is shown, with what you should type in
boldface
.
%ftp ftp.uu.net
Connected to ftp.uu.net.
220 FTP server (Version 6.21 Tue Mar 10 22:09:55 EST 1992) ready.
Name (ftp.uu.net:yourname):
anonymous
331 Guest login ok, send domain style e-mail address as password.
Password:
yourname@ora.com
(
use your user name and host here
)
230 Guest login ok, access restrictions apply.
ftp>
cd /published/oreilly/nutshell/pthreads
250 CWD command successful.
ftp>
binary
(
Very important! You must specify binary transfer for
compressed files.
)
200 Type set to I.
ftp>
get examples.tar.gz
200 PORT command successful.
150 Opening BINARY mode data connection for
examples.tar.gz.
226 Transfer complete.
ftp>
quit
221 Goodbye.
%
The file is a compressed tar archive; extract the files from the archive by typing:
%
gzcat examples.tar.gz | tar xvf -
System V systems require the following tar command instead:
%
gzcat examples.tar.gz | tar xof -
If
gzcat
is not available on your system, use separate
gunzip
and
tar
or
shar
commands.
%
gunzip examples.tar.gz
%
tar xvf examples.tar
Books24x7.com, Inc © 2000 –
Feedback