From: Mike Frysinger <vapier@gentoo.org>
To: libc-alpha@sourceware.org
CC: "sean yang" <seanatpurdue@hotmail.com>
Subject: Re: write() and __libc_write()?
Date: Fri, 10 Mar 2006 23:47:30 -0500
On Friday 10 March 2006 23:10, sean yang wrote:
> this is the code from ./ sysdeps/generic/write.c, and I believe it's
the
> code corresponding to write(2) exported by #include <unistd.h>
> By why can't I find "int $0x80" inside the function body?
no, that is the generic write.c that is only used if the target doesnt
provide
its own version of write
in the case of unix (and thus linux) targets, there is no "write.c" file,
but
rather it's autogenerated afaik from the sysdeps/unix/syscalls.list file