<div class="gmail_quote">On Sun, Nov 25, 2012 at 9:27 AM, Andrew Barnert <span dir="ltr"><<a href="mailto:abarnert@yahoo.com" target="_blank">abarnert@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This can only be implemented on platforms that support the *at functions. I<br>
believe that means just linux and OpenBSD right now, other *BSD (including OS X)<br>
at some unspecified point in the future. Putting something like that in the<br>
stdlib would probably require also adding another function like os_supports_at<br>
(similar to supports_fd, supports_dirfd, etc.), but that's not a big deal.<br></blockquote><div><br>FWIW, if "supports_dirfd" is non-empty, you can be pretty sure that the underlying OS supports the *at APIs, as that's how the dirfd argument gets used by the affected functions.<br>
<br>Cheers,<br>Nick.<br> </div><div>-- <br></div></div>Nick Coghlan   |   <a href="mailto:ncoghlan@gmail.com">ncoghlan@gmail.com</a>   |   Brisbane, Australia<br>