Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#include "lib.h"
2
#include <errno.h>
3
#include <unistd.h>
4
#include "sys9.h"
5
 
6
int
7
rmdir(const char *path)
8
{
9
	int n;
10
 
11
	n = 0;
12
	if(_REMOVE(path) < 0) {
13
		_syserrno();
14
		n = -1;
15
	}
16
	return n;
17
}