aboutsummaryrefslogtreecommitdiffstats
path: root/man2/spu_create.2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-12-20 11:49:17 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-12-20 11:49:17 +0000
commit30f6523ba5e014220ebd7bcf728f9989e3729910 (patch)
treef54200b39fecc64858e21923266753c17c65a38e /man2/spu_create.2
parentcf94921b756e7f2e1227cbb5c6d6b6ce58c16a11 (diff)
downloadman-pages-30f6523ba5e014220ebd7bcf728f9989e3729910.tar.gz
We can use context FDs for the dirfd argument to the *at() syscalls.
Diffstat (limited to 'man2/spu_create.2')
-rw-r--r--man2/spu_create.212
1 files changed, 9 insertions, 3 deletions
diff --git a/man2/spu_create.2 b/man2/spu_create.2
index 5ed896bb60..146f8d2828 100644
--- a/man2/spu_create.2
+++ b/man2/spu_create.2
@@ -21,7 +21,7 @@
.\" 2007-07-10, some polishing by mtk
.\" 2007-09-28, updates for newer kernels by Jeremy Kerr <jk@ozlabs.org>
.\"
-.TH SPU_CREATE 2 2007-11-25 Linux "Linux Programmer's Manual"
+.TH SPU_CREATE 2 2007-12-20 Linux "Linux Programmer's Manual"
.SH NAME
spu_create \- create a new spu context
.SH SYNOPSIS
@@ -55,9 +55,15 @@ and it is populated with the files described in
When a context is created,
the returned file descriptor can only be passed to
-.BR spu_run (2)
+.BR spu_run (2),
+used as the
+.I dirfd
+argument to the
+.B *at
+family of system calls (e.g.,
+.BR openat (2)),
or closed;
-other operations are not defined on it.
+other operations are not defined.
A logical SPU
context is destroyed (along with all files created within the context's
.I pathname