rminnichinitial1fcdf7916 years agoHistory
29 lines · 502 B · C
RawDownload
#include <u.h>#include <libc.h>#include <auth.h>#include <fcall.h>#include "9p.h" voidmain(void){	Tree *t;	File *hello, *goodbye, *world; 	t = mktree(); 	hello = fcreate(t->root, "hello", CHDIR|0777);	assert(hello != nil); 	goodbye = fcreate(t->root, "goodbye", CHDIR|0777);	assert(goodbye != nil); 	world = fcreate(hello, "world", 0666);	assert(world != nil);	world = fcreate(goodbye, "world", 0666);	assert(world != nil);	fdump(t->root, 0); 	fremove(world);	fdump(t->root, 0);}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t