Zhaoming Luo, le jeu. 06 févr. 2025 10:54:30 +0800, a ecrit: > Though I don't know why gdb tells me it uses the implementation in > $(glibc)/unix/bsd/getpt.c. Is it expected?
Yes, if you git grep you will see that there are only login/getpt.c (dumb), sysdeps/unix/sysv/linux/getpt.c (linux-specific) and sysdeps/unix/bsd/getpt.c (generic, implemented on top of other functions). Samuel