mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-15 11:20:03 +00:00
19 lines
324 B
C
19 lines
324 B
C
|
#include <u.h>
|
||
|
#include <libc.h>
|
||
|
#include <fcall.h>
|
||
|
#include <thread.h>
|
||
|
#include <9p.h>
|
||
|
#include "post.h"
|
||
|
|
||
|
void
|
||
|
threadpostmountsrv(Srv *s, char *name, char *mtpt, int flag)
|
||
|
{
|
||
|
Postcrud *p;
|
||
|
|
||
|
p = _post1(s, name, mtpt, flag);
|
||
|
if(procrfork(_post2, s, 32*1024, RFNAMEG|RFNOTEG) < 0)
|
||
|
sysfatal("procrfork: %r");
|
||
|
_post3(p);
|
||
|
}
|
||
|
|