hdopen

@return An hFILE pointer, or NULL (with _errno_ set) if an error occurred.

Note that the file must be opened in binary mode, or else there will be problems on platforms that make a difference between text and binary mode.

For socket descriptors (on Windows), _mode_ should contain s.

extern (C)
hdopen
(
int fd
,
const(char)* mode
)

Meta