On 2023-03-11 13:49, Alejandro Colomar wrote: >> + : mempcpy (full_tty, "/dev/", sizeof"/dev/" - 1)), > This is a great use case for stpcpy(3). I came up with a slightly better approach, that needs neither mempcpy nor stpcpy. I plan to send it along soon.