mirror of https://github.com/mkerrisk/man-pages
We can use context FDs for the dirfd argument to the *at() syscalls.
This commit is contained in:
parent
cf94921b75
commit
30f6523ba5
|
@ -21,7 +21,7 @@
|
||||||
.\" 2007-07-10, some polishing by mtk
|
.\" 2007-07-10, some polishing by mtk
|
||||||
.\" 2007-09-28, updates for newer kernels by Jeremy Kerr <jk@ozlabs.org>
|
.\" 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
|
.SH NAME
|
||||||
spu_create \- create a new spu context
|
spu_create \- create a new spu context
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -55,9 +55,15 @@ and it is populated with the files described in
|
||||||
|
|
||||||
When a context is created,
|
When a context is created,
|
||||||
the returned file descriptor can only be passed to
|
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;
|
or closed;
|
||||||
other operations are not defined on it.
|
other operations are not defined.
|
||||||
A logical SPU
|
A logical SPU
|
||||||
context is destroyed (along with all files created within the context's
|
context is destroyed (along with all files created within the context's
|
||||||
.I pathname
|
.I pathname
|
||||||
|
|
Loading…
Reference in New Issue