shithub: riscv

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