The glibc pread() and pwrite() wrapper functions transparently deal with the change.
On Linux, the underlying system calls were renamed in kernel 2.6: pread() became pread64(), and pwrite() became pwrite64(). The system call numbers remained the same. The glibc pread() and pwrite() wrapper functions transparently deal with the change.
consteval?
Сегодня попозже напишу правильный код