panthema / 2006 / SDIOS06 / sdios06 / lib / libc / unistd.c (Download File)
#include <config.h>

#include <sys/types.h>

#include <sdi/log.h>

ssize_t write(int fd, const char *buf, size_t count)
{
	// This is only here becuase libsupc++ needs it...
	LogMessage("Write called");
	return count;	
}

struct dl_phdr_info;
int dl_iterate_phdr(int (*callback) (struct dl_phdr_info *info,
                    size_t size, void *data), void *data)
{
	// This is only here becuase libsupc++ needs it...
	return 0;
}