Help for this page

Select Code to Download


  1. or download this
    [ian@alula ~]$ strace perl ./test.pl >test.log
    
    ...
    write(1, "From C: 9\n", 10)             = 10
    write(1, "From perl: 0\nFrom perl: 2\nFrom p"..., 65) = 65
    exit_group(0)                           = ?
    
  2. or download this
    write(1, "From C: 1\n", 10)             = 10
    write(1, "From perl: 2\n", 13)          = 13
    ...
    write(1, "From perl: 8\n", 13)          = 13
    write(1, "From C: 9\n", 10)             = 10
    exit_group(0)                           = ?