Sergey Bugaev
d89843f96f
LibCore: Add File::read_link() :^)
...
This is a convenient wrapper around readlink() that hides away the details
of buffers and buffer sizes, and simply returns a String. The best part is it
doesn't rely on PATH_MAX :D
It comes in two versions, for Serenity, where we can pass non-null-terminated
strings to syscalls, and where sys$readlink() returns the total link size, and
for other systems, where we have to copy out the string, and always have to do
two syscalls.
2020-06-17 15:02:03 +02:00
..
2020-06-12 21:28:55 +02:00
2020-05-17 11:58:08 +02:00
2020-05-14 20:15:18 +02:00
2020-06-12 21:28:55 +02:00
2020-02-06 15:04:03 +01:00
2020-05-07 10:23:58 +02:00
2020-05-07 10:23:58 +02:00
2020-05-06 19:28:59 +02:00
2020-03-08 13:06:51 +01:00
2020-03-19 15:48:00 +01:00
2020-02-06 15:04:03 +01:00
2020-02-06 15:04:03 +01:00
2020-02-14 23:31:18 +01:00
2020-06-13 12:43:22 +02:00
2020-05-29 07:53:30 +02:00
2020-06-17 15:02:03 +02:00
2020-06-17 15:02:03 +02:00
2020-06-11 22:44:54 +02:00
2020-04-28 09:32:33 +02:00
2020-05-29 07:59:45 +02:00
2020-05-15 09:50:48 +02:00
2020-05-15 09:50:48 +02:00
2020-02-06 15:04:03 +01:00
2020-05-30 00:36:13 +02:00
2020-02-15 00:32:33 +01:00
2020-03-07 01:33:53 +01:00
2020-02-15 00:32:33 +01:00
2020-02-14 13:17:26 +01:00
2020-02-14 13:17:26 +01:00
2020-05-03 12:59:26 +02:00
2020-05-03 12:59:26 +02:00
2020-02-06 15:04:03 +01:00
2020-02-06 15:04:03 +01:00
2020-02-14 23:31:18 +01:00
2020-02-06 15:04:03 +01:00
2020-03-08 13:06:51 +01:00
2020-03-05 15:50:22 +01:00
2020-06-13 12:43:22 +02:00
2020-02-06 15:04:03 +01:00
2019-11-23 23:43:37 +01:00
2020-05-29 07:59:45 +02:00
2020-06-08 13:58:32 +02:00
2020-05-18 20:16:52 +02:00
2020-02-15 00:58:52 +01:00
2020-03-08 13:06:51 +01:00
2020-05-26 14:35:10 +02:00
2020-05-05 23:56:57 +02:00
2020-03-08 13:06:51 +01:00
2020-05-23 15:31:30 +02:00
2020-02-15 00:32:33 +01:00
2020-05-23 15:31:30 +02:00
2020-02-15 00:32:33 +01:00
2020-06-11 22:35:37 +02:00
2020-06-11 22:35:37 +02:00
2020-05-23 15:31:30 +02:00
2020-04-04 12:25:33 +02:00
2020-05-23 15:31:30 +02:00
2020-03-14 23:56:12 +01:00