ktrace does not show proper return values for pipe(2)

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Thu Sep 24 01:56:27 PDT 2009


When ktracing a pipe syscall, the output is:

57705 a.out    CALL  pipe
57705 a.out    RET   pipe 3
However, the return value of pipe is 0, and the returned value for the 
file descs is {3, 4}.

--
  <3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /"\
  rock the past  +++  space for low CHF NOW!1  +++     Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \




More information about the Bugs mailing list