shithub: riscv

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