I was trying to look up the prototype for the getpgrp() function in unistd.h but couldnt find it. The only line containing getpgrp in that file was the line libc_hidden_proto (tcgetpgrp) and I'm assuming this is a macro, but I dont know what it does.
I googled but couldn't find any explanations on the web for what libc_hidden_proto actually does. Any explanation about what the purpose of that macro is in glibc would be appreciated.