NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/49617



The following reply was made to PR kern/49617; it has been noted by GNATS.

From: kirk russell <kirk%ba23.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/49617
Date: Sun, 1 Feb 2015 10:08:16 -0500

 Here is my draft man page changes for netbsd PR kern/49617:
 
 --- src/lib/libc/sys/fdiscard.2.orig 2014-07-25 08:47:42.000000000 +0000
 +++ src/lib/libc/sys/fdiscard.2 2015-02-01 14:57:39.000000000 +0000
 @@ -127,8 +127,16 @@
  may not be persistent after a crash or reboot if the space reserved
  has not yet been written to.
  .Sh RETURN VALUES
 -On success these calls return 0.
 -On error, \-1 is returned, and the global variable
 +If successful, the
 +.Fn posix_fallocate
 +function will return zero.
 +Otherwise an error number will be returned, without setting
 +.Va errno .
 +.Pp
 +If successful, the
 +.Fn fdiscard
 +function will return zero.
 +Otherwise the value \-1 is returned and the global variable
  .Va errno
  is set to indicate the error.
  .Sh ERRORS
 
 
 
 
 -- 
 Kirk Russell            <kirk%ba23.org@localhost>           http://www.ba23.org/
 



Home | Main Index | Thread Index | Old Index