diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 06:58:14 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 06:58:14 +0000 |
commit | 423ba8f9bc23d93bfc244aca9b12563b1c9de90d (patch) | |
tree | c35d15efbecd3a9eb67a613df648a6bb614dca4b /share/doc/psd | |
parent | a14d555c873398b14776ca4f2c33f9c69617afb9 (diff) | |
download | FreeBSD-src-423ba8f9bc23d93bfc244aca9b12563b1c9de90d.zip FreeBSD-src-423ba8f9bc23d93bfc244aca9b12563b1c9de90d.tar.gz |
Remove trailing whitespace.
Diffstat (limited to 'share/doc/psd')
-rw-r--r-- | share/doc/psd/20.ipctut/dgramread.c | 2 | ||||
-rw-r--r-- | share/doc/psd/20.ipctut/dgramsend.c | 4 | ||||
-rw-r--r-- | share/doc/psd/20.ipctut/pipe.c | 2 | ||||
-rw-r--r-- | share/doc/psd/20.ipctut/socketpair.c | 2 | ||||
-rw-r--r-- | share/doc/psd/20.ipctut/strchkread.c | 2 | ||||
-rw-r--r-- | share/doc/psd/20.ipctut/streamread.c | 6 | ||||
-rw-r--r-- | share/doc/psd/20.ipctut/streamwrite.c | 2 | ||||
-rw-r--r-- | share/doc/psd/20.ipctut/udgramread.c | 4 | ||||
-rw-r--r-- | share/doc/psd/20.ipctut/udgramsend.c | 2 | ||||
-rw-r--r-- | share/doc/psd/20.ipctut/ustreamread.c | 6 | ||||
-rw-r--r-- | share/doc/psd/20.ipctut/ustreamwrite.c | 2 |
11 files changed, 17 insertions, 17 deletions
diff --git a/share/doc/psd/20.ipctut/dgramread.c b/share/doc/psd/20.ipctut/dgramread.c index cd0f147..193fca9 100644 --- a/share/doc/psd/20.ipctut/dgramread.c +++ b/share/doc/psd/20.ipctut/dgramread.c @@ -43,7 +43,7 @@ * u_short sin_port; * struct in_addr sin_addr; * char sin_zero[8]; - * }; + * }; * * This program creates a datagram socket, binds a name to it, then reads * from the socket. diff --git a/share/doc/psd/20.ipctut/dgramsend.c b/share/doc/psd/20.ipctut/dgramsend.c index 831fbf1..909f71d 100644 --- a/share/doc/psd/20.ipctut/dgramsend.c +++ b/share/doc/psd/20.ipctut/dgramsend.c @@ -42,7 +42,7 @@ /* * Here I send a datagram to a receiver whose name I get from the command * line arguments. The form of the command line is dgramsend hostname - * portnumber + * portnumber */ main(argc, argv) @@ -63,7 +63,7 @@ main(argc, argv) * Construct name, with no wildcards, of the socket to send to. * Getnostbyname() returns a structure including the network address * of the specified host. The port number is taken from the command - * line. + * line. */ hp = gethostbyname(argv[1]); if (hp == 0) { diff --git a/share/doc/psd/20.ipctut/pipe.c b/share/doc/psd/20.ipctut/pipe.c index 3f482f3..86cb663 100644 --- a/share/doc/psd/20.ipctut/pipe.c +++ b/share/doc/psd/20.ipctut/pipe.c @@ -40,7 +40,7 @@ * parent over the pipe. Notice that a pipe is a one-way communications * device. I can write to the output socket (sockets[1], the second socket * of the array returned by pipe()) and read from the input socket - * (sockets[0]), but not vice versa. + * (sockets[0]), but not vice versa. */ main() diff --git a/share/doc/psd/20.ipctut/socketpair.c b/share/doc/psd/20.ipctut/socketpair.c index afc5c90..f525c76 100644 --- a/share/doc/psd/20.ipctut/socketpair.c +++ b/share/doc/psd/20.ipctut/socketpair.c @@ -42,7 +42,7 @@ * This program creates a pair of connected sockets then forks and * communicates over them. This is very similar to communication with pipes, * however, socketpairs are two-way communications objects. Therefore I can - * send messages in both directions. + * send messages in both directions. */ main() diff --git a/share/doc/psd/20.ipctut/strchkread.c b/share/doc/psd/20.ipctut/strchkread.c index dcab1fc..a1e148b 100644 --- a/share/doc/psd/20.ipctut/strchkread.c +++ b/share/doc/psd/20.ipctut/strchkread.c @@ -41,7 +41,7 @@ /* * This program uses select() to check that someone is trying to connect - * before calling accept(). + * before calling accept(). */ main() diff --git a/share/doc/psd/20.ipctut/streamread.c b/share/doc/psd/20.ipctut/streamread.c index 139a269..ffad802 100644 --- a/share/doc/psd/20.ipctut/streamread.c +++ b/share/doc/psd/20.ipctut/streamread.c @@ -40,9 +40,9 @@ /* * This program creates a socket and then begins an infinite loop. Each time - * through the loop it accepts a connection and prints out messages from it. + * through the loop it accepts a connection and prints out messages from it. * When the connection breaks, or a termination message comes through, the - * program accepts a new connection. + * program accepts a new connection. */ main() @@ -97,6 +97,6 @@ main() /* * Since this program has an infinite loop, the socket "sock" is * never explicitly closed. However, all sockets will be closed - * automatically when a process is killed or terminates normally. + * automatically when a process is killed or terminates normally. */ } diff --git a/share/doc/psd/20.ipctut/streamwrite.c b/share/doc/psd/20.ipctut/streamwrite.c index db4daaf..07a3528 100644 --- a/share/doc/psd/20.ipctut/streamwrite.c +++ b/share/doc/psd/20.ipctut/streamwrite.c @@ -43,7 +43,7 @@ * This program creates a socket and initiates a connection with the socket * given in the command line. One message is sent over the connection and * then the socket is closed, ending the connection. The form of the command - * line is streamwrite hostname portnumber + * line is streamwrite hostname portnumber */ main(argc, argv) diff --git a/share/doc/psd/20.ipctut/udgramread.c b/share/doc/psd/20.ipctut/udgramread.c index 1b6aa3b..2cb605d 100644 --- a/share/doc/psd/20.ipctut/udgramread.c +++ b/share/doc/psd/20.ipctut/udgramread.c @@ -40,7 +40,7 @@ * struct sockaddr_un { * short sun_family; * char sun_path[108]; - * }; + * }; */ #include <stdio.h> @@ -49,7 +49,7 @@ /* * This program creates a UNIX domain datagram socket, binds a name to it, - * then reads from the socket. + * then reads from the socket. */ main() { diff --git a/share/doc/psd/20.ipctut/udgramsend.c b/share/doc/psd/20.ipctut/udgramsend.c index 5e2b147..3e3ba93 100644 --- a/share/doc/psd/20.ipctut/udgramsend.c +++ b/share/doc/psd/20.ipctut/udgramsend.c @@ -40,7 +40,7 @@ /* * Here I send a datagram to a receiver whose name I get from the command - * line arguments. The form of the command line is udgramsend pathname + * line arguments. The form of the command line is udgramsend pathname */ main(argc, argv) diff --git a/share/doc/psd/20.ipctut/ustreamread.c b/share/doc/psd/20.ipctut/ustreamread.c index 9faf5aa..97fadb9 100644 --- a/share/doc/psd/20.ipctut/ustreamread.c +++ b/share/doc/psd/20.ipctut/ustreamread.c @@ -39,11 +39,11 @@ #define NAME "socket" /* - * This program creates a socket in the UNIX domain and binds a name to it. + * This program creates a socket in the UNIX domain and binds a name to it. * After printing the socket's name it begins a loop. Each time through the * loop it accepts a connection and prints out messages from it. When the * connection breaks, or a termination message comes through, the program - * accepts a new connection. + * accepts a new connection. */ main() { @@ -89,7 +89,7 @@ main() * system that one is through using NAME. In most programs one uses * the call unlink() as below. Since the user will have to kill this * program, it will be necessary to remove the name by a command from - * the shell. + * the shell. */ close(sock); unlink(NAME); diff --git a/share/doc/psd/20.ipctut/ustreamwrite.c b/share/doc/psd/20.ipctut/ustreamwrite.c index e356e50..bdc0b95 100644 --- a/share/doc/psd/20.ipctut/ustreamwrite.c +++ b/share/doc/psd/20.ipctut/ustreamwrite.c @@ -41,7 +41,7 @@ /* * This program connects to the socket named in the command line and sends a * one line message to that socket. The form of the command line is - * ustreamwrite pathname + * ustreamwrite pathname */ main(argc, argv) int argc; |