for some nonsensical reason, glibc's headers use inline functions that
redirect some of the standard functions to ugly nonstandard names (and
likewise for some of their nonstandard functions).
}
weak_alias(feof, feof_unlocked);
+weak_alias(feof, _IO_feof_unlocked);
}
weak_alias(ferror, ferror_unlocked);
+weak_alias(ferror, _IO_ferror_unlocked);
}
weak_alias(fgetc, getc);
+weak_alias(fgetc, _IO_getc);
}
weak_alias(fputc, putc);
+weak_alias(fputc, _IO_putc);
}
weak_alias (getc_unlocked, fgetc_unlocked);
+weak_alias (getc_unlocked, _IO_getc_unlocked);
errno = ENOMEM;
return -1;
}
+
+weak_alias(getdelim, __getdelim);
}
weak_alias(putc_unlocked, fputc_unlocked);
+weak_alias(putc_unlocked, _IO_putc_unlocked);