HH\Lib\OS\stdin

Meta Engineer?

This is available as OS\stdin in the www repository.

Get a file descriptor for request STDIN

namespace HH\Lib\OS;

function stdin(): FileDescriptor;

Fails with EBADF if a request-specific file descriptor is not available, for example, when running in HTTP server mode.

Returns