diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-12-20 11:49:17 +0000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-12-20 11:49:17 +0000 |
| commit | 30f6523ba5e014220ebd7bcf728f9989e3729910 (patch) | |
| tree | f54200b39fecc64858e21923266753c17c65a38e /man2/spu_create.2 | |
| parent | cf94921b756e7f2e1227cbb5c6d6b6ce58c16a11 (diff) | |
| download | man-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.2 | 12 |
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 |
