summaryrefslogtreecommitdiffstats
path: root/man2/spu_create.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/spu_create.2')
-rw-r--r--man2/spu_create.228
1 files changed, 14 insertions, 14 deletions
diff --git a/man2/spu_create.2 b/man2/spu_create.2
index 9f137a047..9c5d71f02 100644
--- a/man2/spu_create.2
+++ b/man2/spu_create.2
@@ -29,7 +29,7 @@ Standard C library
glibc provides no wrapper for
.BR spu_create (),
necessitating the use of
-.BR syscall (2).
+.MR syscall 2 .
.SH DESCRIPTION
The
.BR spu_create ()
@@ -48,17 +48,17 @@ If
is successful, a directory is created at
.I pathname
and it is populated with the files described in
-.BR spufs (7).
+.MR spufs 7 .
.P
When a context is created,
the returned file descriptor can only be passed to
-.BR spu_run (2),
+.MR spu_run 2 ,
used as the
.I dirfd
argument to the
.B *at
family of system calls (e.g.,
-.BR openat (2)),
+.MR openat 2 ),
or closed;
other operations are not defined.
A logical SPU
@@ -72,11 +72,11 @@ is closed.
The
.I mode
argument (minus any bits set in the process's
-.BR umask (2))
+.MR umask 2 )
specifies the permissions used for creating the new directory in
.BR spufs .
See
-.BR stat (2)
+.MR stat 2
for a full list of the possible
.I mode
values.
@@ -96,7 +96,7 @@ combination of the following constants:
Rather than using signals for reporting DMA errors, use the
.I event
argument to
-.BR spu_run (2).
+.MR spu_run 2 .
.TP
.B SPU_CREATE_GANG
Create an SPU gang instead of a context.
@@ -174,7 +174,7 @@ is set to indicate the error.
.TP
.B EACCES
The current user does not have write access to the
-.BR spufs (7)
+.MR spufs 7
mount point.
.TP
.B EEXIST
@@ -188,7 +188,7 @@ calling process's address space.
.B EINVAL
.I pathname
is not a directory in the
-.BR spufs (7)
+.MR spufs 7
mount point, or invalid flags have been provided.
.TP
.B ELOOP
@@ -266,11 +266,11 @@ See
for the recommended libraries.
.SH EXAMPLES
See
-.BR spu_run (2)
+.MR spu_run 2
for an example of the use of
.BR spu_create ()
.SH SEE ALSO
-.BR close (2),
-.BR spu_run (2),
-.BR capabilities (7),
-.BR spufs (7)
+.MR close 2 ,
+.MR spu_run 2 ,
+.MR capabilities 7 ,
+.MR spufs 7