• R
    add getopt reset support · 030e5263
    Rich Felker 提交于
    based on proposed patches by Daniel Cegiełka, with minor changes:
    - use a weak symbol for optreset so it doesn't clash with namespace
    - also reset optpos (position in multi-option arg like -lR)
    - also make getopt_long support reset
    030e5263
getopt.c 1.5 KB