aboutsummaryrefslogtreecommitdiffstats
path: root/man3/sched_getcpu.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/sched_getcpu.3')
-rw-r--r--man3/sched_getcpu.312
1 files changed, 6 insertions, 6 deletions
diff --git a/man3/sched_getcpu.3 b/man3/sched_getcpu.3
index c5e826a1f7..fc2a272634 100644
--- a/man3/sched_getcpu.3
+++ b/man3/sched_getcpu.3
@@ -86,19 +86,19 @@ T} Thread safety MT-Safe
is glibc-specific.
.SH NOTES
The call
+.PP
.in +4n
-.nf
-
+.EX
cpu = sched_getcpu();
-
-.fi
+.EE
.in
+.PP
is equivalent to the following
.BR getcpu (2)
call:
+.PP
.in +4n
-.nf
-
+.EX
int c, s;
s = getcpu(&c, NULL, NULL);
cpu = (s == \-1) ? s : c;