czyborra@nuc:~ $ man 2 newfstatat
No manual entry for "newfstatat"
czyborra@nuc:~ $ uname -sr
FreeBSD 14.2-RELEASE-p1
czyborra@penguin:~$ LANG=zh.UTF-8 man 2 newfstatat | grep ENOENT
man: can't set the locale; make sure $LC_* and $LANG are correct
ENOENT A component of pathname does not exist or is a dangling
symbolic link.
ENOENT pathname is an empty string and AT_EMPTY_PATH was not
specified in flags.
czyborra@penguin:~$ uname -sr
Linux 6.6.76-08024-gb30cb4a129c2
Op wo 21 mei 2025 om 00:42 schreef 🦓 <[email protected]>:
> Can somebody lookup newfstatat and mkdirat in Dennis Ritchie's
> https://www.scs.stanford.edu/nyu/04fa/sched/readings/unix.pdf for me
> again since it has been a while?
>
> newfstatat(AT_FDCWD, "/", {st_mode=S_IFDIR|0755, st_size=132, ...},
>> AT_SYMLINK_NOFOLLOW) = 0
>> newfstatat(AT_FDCWD, "", 0x7ffc923d0400, AT_SYMLINK_NOFOLLOW) = -1 ENOENT
>> (No such file or directory)
>> mkdirat(AT_FDCWD, "", 0700) = -1 ENOENT (No such file or
>> directory)
>>
>>