aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Johnston <markjdb@gmail.com>2021-09-10 11:00:47 -0400
committerMark Johnston <markjdb@gmail.com>2021-09-10 11:31:45 -0400
commit37ff5a96400cd76631cf67fa0107cd0a5d5e5033 (patch)
tree54bdf99bc5c6e5c3cd85414b22ccd4727d22f6af
parent9d43b75802fee19bbd9d04a9983e588942d1d4a4 (diff)
sys/freebsd: add getdirentries(2)
-rw-r--r--sys/freebsd/posix_fs.txt1
-rw-r--r--sys/freebsd/posix_fs.txt.const1
2 files changed, 2 insertions, 0 deletions
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