shithub: riscv

ref: 8b269f83f4a6513734ebc933d2a33d3fbb72f90f
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;
}