main()
{
int pid;
pid=fork();
if(pid==0)
{
print child;
print(...,getpid());
}
else
{
print print;
print(...,getpid());
}
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To post to this group, send email to algogeeks@googlegroups.com.
To
what is 'print'?
there's no such thing in C.
On Sun, Oct 2, 2011 at 4:49 AM, rahul sharma rahul23111...@gmail.com wrote:
main()
{
int pid;
pid=fork();
if(pid==0)
{
print child;
print(...,getpid());
}
else
{
print print;
print(...,getpid());
}
--
You received this message because
just given a basic psudocode
On Sun, Oct 2, 2011 at 11:11 PM, Hatta tmd...@gmail.com wrote:
what is 'print'?
there's no such thing in C.
On Sun, Oct 2, 2011 at 4:49 AM, rahul sharma rahul23111...@gmail.com
wrote:
main()
{
int pid;
pid=fork();
if(pid==0)
{
print child;