/**************************************************************************************
Copyright (c) 2002 The UbixOS Project
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are prohibited.
$Id$
**************************************************************************************/
#include <stdio.h>
int fwrite(const void *ptr,int size,FILE *fd) {
int retVal = size;
asm(
"int %0"
:
: "i" (0x80),"a" (0),"b" (ptr),"c" (size),"d" (fd->fd)
);
return(retVal);
}