Eric Blake <e...@byu.net> ha escrit: > But I doubt that interface has ever changed signature in glibc, and is not > available anywhere else.
There are too many possibilities here. E.g. the function takes as its last argument a struct _getopt_data, which is declared in getopt_int.h This structure in libc may have different size, have additional fields, etc, etc. In short, I believe it is too risky to suppose we use the same definitions as libc. Regards, Sergey