| 434 | namespace |
| 435 | { |
| 436 | static SC::TimeMs fileDescriptorPosixTimespecToTimeMs(const timespec& timespecValue) |
| 437 | { |
| 438 | return SC::TimeMs{static_cast<SC::int64_t>(timespecValue.tv_sec) * 1000 + |
| 439 | static_cast<SC::int64_t>(timespecValue.tv_nsec / (1000 * 1000))}; |
| 440 | } |
| 441 | |
| 442 | static SC::FileDescriptorEntryType fileDescriptorPosixEntryTypeFromMode(mode_t mode) |
| 443 | { |