Add a little information about the differences to mbox.

This commit is contained in:
Michael Kerrisk 2007-12-20 11:24:01 +00:00
parent 26cf2565db
commit a612f2d070
1 changed files with 13 additions and 3 deletions

View File

@ -23,7 +23,7 @@
.\" 2007-07-10, quite a lot of polishing by mtk
.\" 2007-09-28, updates for newer kernels by Jeremy Kerr <jk@ozlabs.org>
.\"
.TH SPUFS 7 2007-11-25 Linux "Linux Programmer's Manual"
.TH SPUFS 7 2007-12-20 Linux "Linux Programmer's Manual"
.SH NAME
spufs \- the SPU file system
.SH DESCRIPTION
@ -198,9 +198,19 @@ the data buffer and the value four is returned.
.I /ibox
The second SPU-to-CPU communication mailbox.
This file is similar to the first mailbox file, but can be read
in blocking I/O mode, thus
in blocking I/O mode, thus calling
.BR read (2)
on an open
.I ibox
file will block until the SPU has written data to its interrupt mailbox
channel (unless the file has been opened with
.BR O_NONBLOCK ,
see below).
Also,
.BR poll (2)
and similar system calls can be used to monitor this file.
and similar system calls can be used to monitor for the presence
of mailbox data.
The possible operations on an open
.I ibox
file are: