ack/plat/linux/liblinux/close.c

15 lines
247 B
C
Raw Normal View History

/* $Source: /cvsroot/tack/Ack/plat/linux386/libsys/close.c,v $
* $State: Exp $
* $Revision: 1.1 $
*/
#include <stdlib.h>
#include <errno.h>
#include <unistd.h>
#include "libsys.h"
int close(int fd)
{
return _syscall(__NR_close, fd, 0, 0);
}