On 19.06.2025 18:06, Mark Harmstone wrote: > On 19/06/2025 4.39 pm, Brahmajit Das wrote: ... > > Surely this doesn't compile... strscpy takes three parameters. > It does, the third parameter is optional. From include/linux/string.h
#define strscpy(dst, src, ...) \ CONCATENATE(__strscpy, COUNT_ARGS(__VA_ARGS__))(dst, src, __VA_ARGS__) But I'm more than happy to add the third parameter. -- Regards, listout