revoke() is available in BSD.
http://man.cx/revoke%282%29