aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2023-04-04 13:33:28 -0700
committerElliott Hughes <enh@google.com>2023-04-04 17:28:39 -0700
commit462ca8b3148c8034cfee3a526033bb14c068102b (patch)
tree76defcd676fa4c49fdc5af90bd768fd077c1c12f /docs
parent97c690226971eb4c88e6f2de1e139fde91a65b99 (diff)
downloadbionic-462ca8b3148c8034cfee3a526033bb14c068102b.tar.gz
<spawn.h>: add posix_spawn_file_actions_addchdir_np()/posix_spawn_file_actions_addfchdir_np().
The recent header nullability additions and the corresponding source cleanup made me notice that we're missing a couple of actions that most of the other implementations have. They've also been added to the _next_ revision of POSIX, unchanged except for the removal of the `_np` suffix. They're trivial to implement, the testing is quite simple too, and if they're going to be in POSIX soon, having them accessible in older versions of Android via __RENAME() seems useful. (No-one else has shipped the POSIX names yet.) Bug: http://b/152414297 Test: treehugger Change-Id: I0d2a1e47fbd2e826cff9c45038928aa1b6fcce59
Diffstat (limited to 'docs')
-rw-r--r--docs/status.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/status.md b/docs/status.md
index 5d2603abe..3d104e44d 100644
--- a/docs/status.md
+++ b/docs/status.md
@@ -59,6 +59,9 @@ New libc functions in U (API level 34):
* `close_range` and `copy_file_range` (Linux-specific GNU extensions).
* `memset_explicit` in <string.h> (C23 addition).
* `__freadahead` in <stdio_ext.h> (in musl but not glibc).
+ * `posix_spawn_file_actions_addchdir_np` and
+ `posix_spawn_file_actions_addfchdir_np` in <spawn.h> (in musl/glibc
+ and macOS, but not iOS).
New libc behavior in U (API level 34):
* Support for `%b` and `%B` in the printf/wprintf family, `%b` in the