From 37ff5a96400cd76631cf67fa0107cd0a5d5e5033 Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Fri, 10 Sep 2021 11:00:47 -0400 Subject: sys/freebsd: add getdirentries(2) --- sys/freebsd/posix_fs.txt | 1 + sys/freebsd/posix_fs.txt.const | 1 + 2 files changed, 2 insertions(+) diff --git a/sys/freebsd/posix_fs.txt b/sys/freebsd/posix_fs.txt index 787f801b4..e8c08574a 100644 --- a/sys/freebsd/posix_fs.txt +++ b/sys/freebsd/posix_fs.txt @@ -53,6 +53,7 @@ fpathconf(fd fd, name flags[conf_value]) unmount(path ptr[in, filename], flags flags[mount_flags]) mount(type ptr[in, string[filesystem_types]], path ptr[in, filename], flags flags[mount_flags], data buffer[in]) fspacectl(fd fd, cmd flags[spacectl_cmd], rgsr ptr[in, spacectl_range], flags flags[spacectl_flags], rmsr ptr[out, spacectl_range]) +getdirentries(fd fd_dir, buf buffer[out], nbytes len[buf], basep ptr[out, int64]) pipefd { rfd fd diff --git a/sys/freebsd/posix_fs.txt.const b/sys/freebsd/posix_fs.txt.const index 79130bb9a..2b710cdc6 100644 --- a/sys/freebsd/posix_fs.txt.const +++ b/sys/freebsd/posix_fs.txt.const @@ -75,6 +75,7 @@ SYS_freebsd11_stat = 188 SYS_fspacectl = 580 SYS_fstat = 551 SYS_fstatat = 552 +SYS_getdirentries = 554 SYS_getfsstat = 557 SYS_lpathconf = 513 SYS_lseek = 478 -- cgit mrf-deployment