diff options
author | jhb <jhb@FreeBSD.org> | 2015-06-02 15:12:33 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2015-06-02 15:12:33 +0000 |
commit | 042166d482b38a7efb5587493a8eba11028b24e3 (patch) | |
tree | 7009ebd6a2ff5576b1b42ee0d6e946665fe6703d /sys/boot/i386 | |
parent | f2e617bb8adef7ec7094e24bf0fcf9e7f44ea37d (diff) | |
download | FreeBSD-src-042166d482b38a7efb5587493a8eba11028b24e3.zip FreeBSD-src-042166d482b38a7efb5587493a8eba11028b24e3.tar.gz |
MFC 282417:
Various updates to the ftruncate(2) documentation:
- Note that ftruncate(2) can operate on shared memory objects and cross
reference shm_open(2).
- Note that ftruncate(2) does not change the file position pointer (aka
seek pointer) of the file descriptor.
- ftruncate(2) will fail with EINVAL for all sorts of other fd types than
just sockets, so instead note that it fails for all but regular files and
shared memory objects.
- Note that ftruncate(2) also appeared in 4.2BSD along with truncate(2).
(Or at least the manpage for both appeared in 4.2, I did not check the
kernel code itself to see if either predated 4.2.)
PR: 199472
Diffstat (limited to 'sys/boot/i386')
0 files changed, 0 insertions, 0 deletions