shithub: riscv

ref: fe93e698589d6b23a02ec8e6d104f83e533661f3
dir: /sys/src/ape/lib/bsd/shutdown.c/

View raw version
#include <sys/types.h>
#include <unistd.h>

int
shutdown(int fd, int how)
{
	if(how == 2)
		close(fd);

	return 0;
}