Re: [PATCH 0/6] Extended file stat system call
- From: Roland McGrath <roland hack frob com>
- To: David Howells <dhowells redhat com>
- Cc: linux-cifs vger kernel org, linux-nfs vger kernel org, Paul Eggert <eggert cs ucla edu>, libc-alpha sourceware org, kfm-devel kde org, wine-devel winehq org, samba-technical lists samba org, nautilus-list gnome org, linux-api vger kernel org, linux-fsdevel vger kernel org, linux-ext4 vger kernel org
- Subject: Re: [PATCH 0/6] Extended file stat system call
- Date: Thu, 26 Apr 2012 11:24:01 -0700 (PDT)
> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]