Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – planix.SVN – Blame – /os/branches/feature_tlsv12/sys/src/ape/lib/ap/plan9/rmdir.c – Rev 2

Subversion Repositories planix.SVN

Rev

Go to most recent revision | Details | 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
}