Files
systemd/src/basic
Chris Down 592c57e586 fd-util: Add fd_is_writable() to check if FD is opened for writing
This checks whether a file descriptor is valid and opened in a mode that
allows writing (O_WRONLY or O_RDWR). This is useful when we want to
verify that inherited FDs can actually be used for output operations
before dup'ing them.

The helper explicitly handles O_PATH file descriptors, which cannot be
used for I/O operations and thus are never writable.
2025-11-20 02:02:21 +08:00
..
2025-05-25 10:06:07 +02:00
2025-09-19 15:33:15 +09:00
2025-11-16 11:12:10 +09:00
2025-09-19 14:46:55 +02:00
2025-06-02 17:39:43 +02:00
2025-09-19 16:46:07 +02:00
2025-09-24 15:45:28 +02:00
2025-05-25 10:06:07 +02:00
2025-05-25 10:06:07 +02:00
2025-07-26 05:00:02 +09:00
2025-10-20 02:10:00 -07:00
2025-05-25 10:06:07 +02:00
2025-11-13 15:36:47 +09:00
2025-05-25 10:06:07 +02:00