Hi Martin, I was wondering why C23 didn't use QChar for strtol(3). It has the same problems that string functions have: a const input string and a non-const output string (the endptr).
I think endptr should have the same constness of the string passed to strtol(3), no? Should this be addressed for C3x? For liba2i.git, I'm working on const-generic versions of strtol(3) wrappers, which have helped simplify the const/non-const mix of pointers in shadow.git. Have a lovely day! Alex -- <https://www.alejandro-colomar.es/> A client is hiring kernel driver, mm, and/or crypto developers; contact me if interested.
signature.asc
Description: PGP signature