* No subject
@ 2011-06-14 12:20 Venkateswarlu P
2011-06-14 12:36 ` Mulyadi Santosa
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Venkateswarlu P @ 2011-06-14 12:20 UTC (permalink / raw)
To: kernelnewbies
anyone can send
implementation of *fork()* library call in the library
i want to know how it is get connected to the system call.
**
P VENKATESWARLU
M.Tech (CSE) II year
NIT Calicut ,Kerala* **
*+91-9995115752
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110614/e1414a9f/attachment.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* (no subject)
2011-06-14 12:20 No subject Venkateswarlu P
@ 2011-06-14 12:36 ` Mulyadi Santosa
2011-06-14 12:48 ` João Eduardo Luís
2011-06-14 13:26 ` cihan kömeçoğlu
2011-06-14 17:12 ` fork() in libc Jonathan Neuschäfer
2 siblings, 1 reply; 6+ messages in thread
From: Mulyadi Santosa @ 2011-06-14 12:36 UTC (permalink / raw)
To: kernelnewbies
On Tue, Jun 14, 2011 at 19:20, Venkateswarlu P <p.venkatesh551@gmail.com> wrote:
>
> anyone can send
> implementation of? fork() library call? in the library
>
> i want to know how it is get connected to the system call.
create a C program that callls fork(), compile and the ltrace it...
--
regards,
Mulyadi Santosa
Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* (no subject)
2011-06-14 12:36 ` Mulyadi Santosa
@ 2011-06-14 12:48 ` João Eduardo Luís
0 siblings, 0 replies; 6+ messages in thread
From: João Eduardo Luís @ 2011-06-14 12:48 UTC (permalink / raw)
To: kernelnewbies
On Jun 14, 2011, at 1:36 PM, Mulyadi Santosa wrote:
> On Tue, Jun 14, 2011 at 19:20, Venkateswarlu P <p.venkatesh551@gmail.com> wrote:
>>
>> anyone can send
>> implementation of fork() library call in the library
>>
>> i want to know how it is get connected to the system call.
>
> create a C program that callls fork(), compile and the ltrace it...
Or take a look at glibc's implementation. I'm sure you'd be able to find it by downloading glibc and grep'ing it or by searching the web for an online repository with the code.
---
Jo?o Eduardo Lu?s
gpg key: 477C26E5 from pool.keyserver.eu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 495 bytes
Desc: This is a digitally signed message part
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110614/d1d845be/attachment.bin
^ permalink raw reply [flat|nested] 6+ messages in thread
* (no subject)
2011-06-14 12:20 No subject Venkateswarlu P
2011-06-14 12:36 ` Mulyadi Santosa
@ 2011-06-14 13:26 ` cihan kömeçoğlu
2011-06-14 16:59 ` AshokKumar G
2011-06-14 17:12 ` fork() in libc Jonathan Neuschäfer
2 siblings, 1 reply; 6+ messages in thread
From: cihan kömeçoğlu @ 2011-06-14 13:26 UTC (permalink / raw)
To: kernelnewbies
ftp://ftp.kernel.org/pub/linux/libs/glibc/
2011/6/14 Venkateswarlu P <p.venkatesh551@gmail.com>
>
> anyone can send
> implementation of *fork()* library call in the library
>
> i want to know how it is get connected to the system call.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> **
> P VENKATESWARLU
> M.Tech (CSE) II year
> NIT Calicut ,Kerala* **
> *+91-9995115752
>
>
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110614/0cf7ae65/attachment.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* fork() in libc
2011-06-14 12:20 No subject Venkateswarlu P
2011-06-14 12:36 ` Mulyadi Santosa
2011-06-14 13:26 ` cihan kömeçoğlu
@ 2011-06-14 17:12 ` Jonathan Neuschäfer
2 siblings, 0 replies; 6+ messages in thread
From: Jonathan Neuschäfer @ 2011-06-14 17:12 UTC (permalink / raw)
To: kernelnewbies
On Tue, Jun 14, 2011 at 05:50:53PM +0530, Venkateswarlu P wrote:
> anyone can send
> implementation of *fork()* library call in the library
I don't know exactly where it is, but you could look at
http://repo.or.cz/w/glibc.git.
> i want to know how it is get connected to the system call.
>From the manpage:
Since version 2.3.3, rather than invoking the kernel's fork()
system call, the glibc fork() wrapper that is provided as part of
the NPTL threading implementation invokes clone(2) with flags
that provide the same effect as the traditional system call. The
glibc wrapper invokes any fork handlers that have been established
using pthread_atfork(3).
Thanks,
Jonathan Neusch?fer
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-06-14 17:12 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-14 12:20 No subject Venkateswarlu P
2011-06-14 12:36 ` Mulyadi Santosa
2011-06-14 12:48 ` João Eduardo Luís
2011-06-14 13:26 ` cihan kömeçoğlu
2011-06-14 16:59 ` AshokKumar G
2011-06-14 17:12 ` fork() in libc Jonathan Neuschäfer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.