Blob
1 /* Copyright (C) 2003 Russ Cox, Massachusetts Institute of Technology */2 /* See COPYRIGHT */4 #include <u.h>5 #include <libc.h>6 #include <fcall.h>7 #include <9pclient.h>8 #include "fsimpl.h"10 int11 fsremove(CFsys *fs, char *name)12 {13 CFid *fid;15 if((fid = fswalk(fs->root, name)) == nil)16 return -1;17 return fsfremove(fid);18 }