Skip to content

Commit 39fd9c1

Browse files
committed
Platform: correct posix_spawn API nullability
The `posix_spawn` API is not annotated appropriately for nullability. Adjust the signature to allow proper usage with older NDKs.
1 parent a6f4e41 commit 39fd9c1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

stdlib/public/Platform/spawn.apinotes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,9 @@ Functions:
55
Parameters:
66
- Position: 0
77
Type: "posix_spawnattr_t _Nullable * _Nonnull"
8+
- Name: posix_spawn
9+
Parameters:
10+
- Position: 2
11+
Type: "const posix_spawn_file_actions_t _Nonnull * _Nullable"
12+
- Position: 3
13+
Type: "const posix_spawnattr_t _Nonnull * _Nullable"

0 commit comments

Comments
 (0)