.SH "RETURN VALUE"
The
.BR set_robust_list ()
-and
+and
.BR get_robust_list ()
system calls return zero when the operation is successful,
an error code otherwise.
.BR set_robust_list ()
system call can fail with the following error:
.TP
-.B EINVAL
+.B EINVAL
.I len
does not match the size of structure
-.B struct robust_list_head
+.B struct robust_list_head
expected by kernel.
.PP
The
.BR get_robust_list ()
system call can fail with the following errors:
.TP
-.B EPERM
+.B EPERM
The calling process does not have permission to see the robust futex list of
the thread with the thread ID
.IR pid ,
.BR CAP_SYS_PTRACE
capability.
.TP
-.B ESRCH
+.B ESRCH
No thread with the thread ID
.I pid
could be found.
(Normally this does not happen
because the scheduler tries to minimize movements between CPUs to
keep caches hot, but it is possible.)
-The caller must allow for the possibility that the information returned in
+The caller must allow for the possibility that the information returned in
.I cpu
and
.I node
(i.e., any mapping created with the
.BR mmap(2)
.BR MAP_PRIVATE
-flag;
+flag;
this includes memory allocated on the heap and statically allocated buffers).
Any such I/Os, whether submitted via an asynchronous I/O interface or from
another thread in the process,
flag.
Nor does this restriction apply when the memory buffer has been advised as
.B MADV_DONTFORK
-with
+with
.BR madvise(2),
ensuring that it will not be available
to the child after
The final argument of the
.BR pselect6()
-system call is not a
+system call is not a
.I "sigset_t\ *"
pointer, but is instead a structure of the form:
.in +4
.BR fmemopen ()
sets the file position to \-1.
-To specify binary mode for
+To specify binary mode for
.BR fmemopen ()
the \(aqb\(aq must be the
.I second
}
/* The main thread also allocates some memory */
-
+
for (j = 0; j < numBlocks; j++)
if (malloc(blockSize) == NULL)
errExit("malloc");
alpha and sparc,
the middle one for x86, arm, and most other architectures,
and the last one for mips.
-(Values for parisc are
+(Values for parisc are
.I not
shown; see the kernel source for signal numbering on that architecture.)
A \- denotes that a signal is absent on the corresponding architecture.)