input/code.cpp: In function 'int main()':
input/code.cpp:11:26: error: cast from 'FILE*' to 'int' loses precision [-fpermissive]
11 | unsigned long l = read((int)stdin, s, 20);
| ^
input/code.cpp:24:9: error: cast from 'FILE*' to 'int' loses precision [-fpermissive]
24 | write((int)stdout, s, l);
| ^
input/code.cpp:24:8: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result]
24 | write((int)stdout, s, l);
| ~~~~~^~~~~~~~~~~~~~~~~~~