shithub: riscv

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