jhb c8296a2c95 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 (2)
Submitted by:	andrew@ugh.net.au (2)
MFC after:	1 week
2015-05-04 14:47:00 +00:00
..
2014-06-26 10:21:00 +00:00
2013-01-15 14:09:08 +00:00
2014-09-30 00:06:53 +00:00
2013-08-16 13:16:27 +00:00
2011-11-10 06:20:18 +00:00
2015-03-29 19:14:41 +00:00
2015-03-29 19:14:41 +00:00
2012-05-08 18:56:21 +00:00
2014-05-30 02:16:28 +00:00
2012-05-08 18:56:21 +00:00
2012-05-08 18:56:21 +00:00
2015-04-26 10:52:37 +00:00
2015-02-07 13:11:45 +00:00
2012-01-15 20:14:52 +00:00
2010-12-18 10:09:07 +00:00
2014-06-24 20:23:18 +00:00
2012-06-02 10:50:25 +00:00
2012-05-08 18:56:21 +00:00
2012-05-08 18:56:21 +00:00
2012-05-08 18:56:21 +00:00
2013-12-06 21:22:33 +00:00