<div>I did some digging on Google but, to be frank, I have no idea what to look for. All of the relevant buzzwords come up with completely unrelated results. That's where I'm hoping someone on here might be able to help.</div>
<div> </div>
<div>I wrote a simple application that uses gettimeofday(). The code is below...</div>
<div> </div>
<div>#include <stdio.h><br>#include <sys/time.h></div>
<div>int main()<br> {<br> struct timeval TV;<br> struct timezone TZ;<br> printf("%s\n", (gettimeofday( &TV, &TZ ))?"FAILURE":"SUCCESS" );<br> } /* end main() */<br></div>
<div> </div>
<div>Here's the wierdness. Gettimeofday() is a system call. The internet, man page, and common knowledge all support that premise. I have two linux machines at home that I'm running this test program on. The gettimeofday() call shows up in the ltrace (understandably) of both machines, however, it shows up in the strace of only one of them. </div>
<div> </div>
<div>The machine that does NOT show it as a system call is running FC9 (2.6.27.7-53.fc9.x86_64 #1 SMP).</div>
<div> </div>
<div>The machine that DOES show it as a system call is FC10 (2.6.27.19-170.2.35.fc10.i686 #1 SMP).</div>
<div> </div>
<div>The only major difference I see is that one is a 64-bit kernel and the other is 32-bit. </div>
<div> </div>
<div>Any ideas?</div>
<div> </div>
<div> ~j</div>