Answer the question
In order to leave comments, you need to log in
Standard library sources?
Hello.
I understand that the question has been asked a million times, but I do not understand how to use the answers to it.
I'm trying to understand the connection of connect() with SIGALRM (does it exist at all?), for this I want to look at the source code of the function itself.
I go here
https://sourceware.org/git/?p=glibc.git;a=tree
And what I see in the connect.c file
int
__connect (int fd, __CONST_SOCKADDR_ARG addr, socklen_t len)
{
__set_errno (ENOSYS);
return -1;
}
Answer the question
In order to leave comments, you need to log in
What does it mean? Is this the whole function that establishes a connection with the server for us?
sysdeps/unix/sysv/linux/connect.c
, but all it does is a system call wrapped in a pthread-cancellation manipulation. Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question