Skip to content

Commit 187a9c3

Browse files
jtbxRubyTheRoobster
authored andcommitted
std.stdio: fdopen is a POSIX library function
It's implemented in Windows but it's not part of standard C. https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/fdopen
1 parent 7bcdf20 commit 187a9c3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

std/stdio.d

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -813,8 +813,9 @@ The mode must be compatible with the mode of the file descriptor.
813813
Throws: `ErrnoException` in case of error.
814814
Params:
815815
fd = File descriptor to associate with this `File`.
816-
stdioOpenmode = Mode to associate with this File. The mode has the same semantics
817-
semantics as in the C standard library $(CSTDIO fdopen) function,
816+
stdioOpenmode = Mode to associate with this File. The mode has the same
817+
semantics as in the POSIX library function $(HTTP
818+
pubs.opengroup.org/onlinepubs/7908799/xsh/fdopen.html, fdopen)
818819
and must be compatible with `fd`.
819820
*/
820821
void fdopen(int fd, scope const(char)[] stdioOpenmode = "rb") @safe

0 commit comments

Comments
 (0)