bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: looking for accept() code


From: Andreas Schwab
Subject: Re: looking for accept() code
Date: Wed, 19 Feb 2003 14:36:13 +0100
User-agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.3.50

Peter Ruprecht <address@hidden> writes:

|> Hi,
|> 
|> I'm trying to learn how the libc networking system calls work, and am
|> looking for source code relevant to accept().  The only code I can find
|> is in accept.c, but it's just a stub.  Can someone please point me to
|> the right source files?

Depends on the target.  For the Hurd it's defined in
sysdeps/mach/hurd/accept.c, for some Linux architectures it's defined in
sysdeps/unix/sysv/linux/accept.S, and for the remaining Linux
architectures and other Unix systems it's a direct syscall, defined in
various syscalls.list files.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]