fcntl and sceKernelFcntl read a third argument as a 64-bit integer for every command on a non-socket descriptor. F_GETFD and F_GETFL pass no third argument, and the commands that take one pass an int or a pointer. They now read nothing, an int or a pointer, by command. An int read as a 64-bit value kept whatever the caller left in the upper half of the register, so F_READAHEAD -1 enabled read-ahead instead of disabling it. |
||
|---|---|---|
| .. | ||
| DescriptorControl.hpp | ||
| DirectoryDescriptor.hpp | ||
| File.hpp | ||
| FileFlags.hpp | ||
| FileLock.hpp | ||
| KernelStatfs.hpp | ||
| NativeStat.hpp | ||
| RandomDevice.hpp | ||
| SharedMemory.hpp | ||
| WindowsFileTime.hpp | ||