Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!decwrl!pa.dec.com!decuac!grebyn!brian From: brian@grebyn.com (Brian Bishop) Newsgroups: comp.unix.amiga Subject: Re: Amiga 3000UX first impressions Summary: Question about truss Keywords: Amiga unix 3000UX Message-ID: <25196@grebyn.com> Date: 1 Feb 91 23:53:42 GMT References: <157@tcr.UUCP> <5187@auspex.auspex.com> <843@amix.commodore.com> Organization: Grebyn Timesharing Lines: 21 In article <843@amix.commodore.com> skrenta@amix.commodore.com (Rich Skrenta) writes: > > Truss is a system call tracer: > > $ mkdir one > $ truss mv one two > execve("/usr/bin/mv", 0xC07FFF00, 0xC07FFF10) argc = 3 > open("/dev/zero", O_RDONLY, 0) = 3 ^^^^^^^^ Is this real output? Does truss know to replace the value in the call with the #define O_RDONLY? If so, that's way cool!! How does it know to do this?? --- Brian Bishop, Software Engineer, Zyga Corporation (brian@grebyn.com) "This one's for the other dog to see."