NetBSD-Bugs archive

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

Re: PR/53931 CVS commit: src/tests/lib/libc/sys



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

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: PR/53931 CVS commit: src/tests/lib/libc/sys
Date: Mon, 7 Apr 2025 07:38:57 +0200

 On Sun, Apr 06, 2025 at 07:20:01PM +0000, Taylor R Campbell wrote:
 >  I can find no guarantee in POSIX about posix_fadvise preserving
 >  errno; until such language is found I'm going to assume there is no
 >  such guarantee.
 
 The errno definition seems to say it:
 
 [...] and shall otherwise be defined only after a call to a function for
 which it is explicitly stated to be set and until it is changed by the
 next function call or if the application assigns it a value
 
 where I would read "next function call" not from a compiler's perspective
 but function being a posix defined system interface. Maybe this should
 be clarified.
 
 https://pubs.opengroup.org/onlinepubs/9799919799/functions/errno.html
 
 Martin
 


Home | Main Index | Thread Index | Old Index