This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 0/6] Extended file stat system call
- From: Roland McGrath <roland at hack dot frob dot com>
- To: David Howells <dhowells at redhat dot com>
- Cc: Paul Eggert <eggert at cs dot ucla dot edu>, linux-fsdevel at vger dot kernel dot org, linux-nfs at vger dot kernel dot org, linux-cifs at vger dot kernel dot org, samba-technical at lists dot samba dot org, linux-ext4 at vger dot kernel dot org, wine-devel at winehq dot org, kfm-devel at kde dot org, nautilus-list at gnome dot org, linux-api at vger dot kernel dot org, libc-alpha at sourceware dot org
- Date: Thu, 26 Apr 2012 11:24:01 -0700 (PDT)
- Subject: Re: [PATCH 0/6] Extended file stat system call
- References: <4F9088D6.9020203@cs.ucla.edu><20120419140558.17272.74360.stgit@warthog.procyon.org.uk><20120419163238.61D382C0DF@topped-with-meat.com><19638.1335449047@redhat.com>
> Interesting. I wasn't intending to provide both statx() and statxat()
> variants, just the latter, in which case I'd've though that -at suffix is
> redundant.
It's certainly fine to provide only *at flavors for any new syscall, IMHO.
The * case is always just a simple degenerate case of *at, and libc can
trivially provide the simpler user API as well using the *at syscall.
But please keep the uniformity that everything taking a descriptor and AT_*
flags is named *at.
Thanks,
Roland