#include <stdio.h>

#define NODEFINE
#include <u.h>
#include <libc.h>
#include <fcall.h>

int
pm_remove(char *file)
{
	if(remove(file) < 0){
		pm_oserror();
		return -1;
	}
	return 0;
}


syntax highlighted by Code2HTML, v. 0.9.1