shithub: riscv

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