Skip to content

Commit

Permalink
doc/go1.12: note that syscall.Getdirentries is no longer supported on…
Browse files Browse the repository at this point in the history
… iOS

Change-Id: I4277f4130b460b42c5b51fd5a5e07f6c0e62163b
Reviewed-on: https://go-review.googlesource.com/c/154720
Reviewed-by: Ian Lance Taylor <[email protected]>
  • Loading branch information
Elias Naur authored and bradfitz committed Dec 18, 2018
1 parent 9d0318f commit 9ded8b0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/go1.12.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ <h3 id="darwin">Darwin</h3>
<p><!-- CL 141639 -->
<code>libSystem</code> is now used when making syscalls on Darwin,
ensuring forward-compatibility with future versions of macOS and iOS.
<!-- CL 153338 -->
The switch to <code>libSystem</code> triggered additional App Store
checks for private API usage. Since it is considered private,
<code>syscall.Getdirentries</code> now always fails with
<code>ENOSYS</code> on iOS.
</p>

<h2 id="tools">Tools</h2>
Expand Down

0 comments on commit 9ded8b0

Please sign in to comment.