Remove surplus empty lines and convert more files to new optional arg style.

This commit is contained in:
Georg Brandl 2009-05-17 12:29:12 +00:00
parent ef0a865f9c
commit 71515ca191
39 changed files with 38 additions and 74 deletions

View file

@ -1,4 +1,3 @@
:mod:`fcntl` --- The :func:`fcntl` and :func:`ioctl` system calls
=================================================================
@ -65,13 +64,13 @@ The module defines the following functions:
so long as the buffer you pass is as least as long as what the operating system
wants to put there, things should work.
If *mutate_flag* is true (the default), then the buffer is (in effect) passed to the
underlying :func:`ioctl` system call, the latter's return code is passed back to
the calling Python, and the buffer's new contents reflect the action of the
:func:`ioctl`. This is a slight simplification, because if the supplied buffer
is less than 1024 bytes long it is first copied into a static buffer 1024 bytes
long which is then passed to :func:`ioctl` and copied back into the supplied
buffer.
If *mutate_flag* is true (the default), then the buffer is (in effect) passed
to the underlying :func:`ioctl` system call, the latter's return code is
passed back to the calling Python, and the buffer's new contents reflect the
action of the :func:`ioctl`. This is a slight simplification, because if the
supplied buffer is less than 1024 bytes long it is first copied into a static
buffer 1024 bytes long which is then passed to :func:`ioctl` and copied back
into the supplied buffer.
An example::