From ab8707223c9809f0967f2e3804bac964f4c01620 Mon Sep 17 00:00:00 2001 From: Paul Jackson Date: Wed, 25 Sep 2019 02:35:50 -0500 Subject: [PATCH] clarify posix_fallocate vs fd_allocate in docs --- docs/WASI-some-possible-changes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/WASI-some-possible-changes.md b/docs/WASI-some-possible-changes.md index aedec3a674..84cde2a084 100644 --- a/docs/WASI-some-possible-changes.md +++ b/docs/WASI-some-possible-changes.md @@ -74,8 +74,8 @@ pair. ## Remove `fd_allocate`? -Darwin doesn't implement `fd_allocate`, despite it being a in POSIX -since 2001. So we don't currently know any way to implement `fd_allocate` +Darwin doesn't implement `posix_fallocate` (similar to `fd_allocate`), despite it being +in POSIX since 2001. So we don't currently know any way to implement `fd_allocate` on Darwin that's safe from race conditions. Should we remove it from the API? ## Redesign `fstflags_t`