plan9port/src/lib9pclient/remove.c
Dan Cross fa325e9b42 Trivial changes: whitespace and modes.
Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.

Signed-off-by: Dan Cross <cross@gajendra.net>
2020-01-10 14:54:30 +00:00

18 lines
322 B
C

/* Copyright (C) 2003 Russ Cox, Massachusetts Institute of Technology */
/* See COPYRIGHT */
#include <u.h>
#include <libc.h>
#include <fcall.h>
#include <9pclient.h>
#include "fsimpl.h"
int
fsremove(CFsys *fs, char *name)
{
CFid *fid;
if((fid = fswalk(fs->root, name)) == nil)
return -1;
return fsfremove(fid);
}