Wow, that was it. I'm happy to hear that because I thought it should end up with a system call anyway.Then isn't there some codes making the system call? Or is it that the compiler understands that 'write' is a system call and inserts the assembly code for calling it by itself?