This commit is contained in:
Michael Kerrisk 2007-12-23 22:24:54 +00:00
parent ca62583fcf
commit d1b4e37d41
4 changed files with 3 additions and 4 deletions

View File

@ -49,7 +49,7 @@ requested it.
The normal sequence of events for using an alternate signal stack
is the following:
.TP
.TP 3
1.
Allocate an area of memory to be used for the alternate
signal stack.

View File

@ -38,7 +38,6 @@ is used to change the signal mask, the set of currently blocked signals.
The behavior of the call is dependent on the value of
.IR how ,
as follows.
.RS
.TP
.B SIG_BLOCK
The set of blocked signals is the union of the current set and the
@ -54,7 +53,6 @@ It is legal to attempt to unblock a signal which is not blocked.
.B SIG_SETMASK
The set of blocked signals is set to the argument
.IR set .
.RE
.PP
If
.I oldset

View File

@ -514,6 +514,7 @@ main(int argc, char *argv[])
}
printf("File type: ");
switch (sb.st_mode & S_IFMT) {
case S_IFBLK: printf("block device\\n"); break;
case S_IFCHR: printf("character device\\n"); break;

View File

@ -40,7 +40,7 @@ The specific form of the
call and the information returned depends on the
.I option
in effect:
.TP
.TP 3
.B 1
Translate the file-system identifier string
.I fsname