size_t fread( _Out_writes_bytes_(_ElementSize*_Count) void * _DstBuf, _In_ size_t _ElementSize, _In_ size_t _Count, _Inout_ FILE * _File );
template < size_t len > int read(int fd, char (&buf)[len]); // array size will be infered int read(int fd, char (&buf)[1024]); // array size must be exactly 1024