shithub: riscv

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