what does the weak_alias function do and where is it defined
问题 So I'm looking through the source of gcc compiler and I've come along this in fork.c: int __fork () { __set_errno (ENOSYS); return -1; } libc_hidden_def (__fork) stub_warning (fork) weak_alias (__fork, fork) #include <stub-tag.h> I'm trying to figure out what weak_alias does. I've used the grep command inside the glibc source files to find all occurrences of #define weak_alias: grep -r "#define weak_alias" I've found many occurrences of the macro: #define weak_alias(n, a) but the macros don't