shithub: riscv

ref: 5fc2f6af6c9d938dca7dd4b8df061d9eeb87ec75
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;
}