projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
BSD 4_1c_2 release
[unix-history]
/
usr
/
src
/
usr.lib
/
undoc
/
libpriv
/
mushlreq.c
/* @(#)mushlreq.c 4.2 (Melbourne) 82/05/30 */
#include <sys/types.h>
#include <sys/mush.h>
#include <sys/mu_msg.h>
#include <sys/quota.h>
#include <mushmuck.h>
long
mushlreq
(
uid
,
req
)
{
mmsgbuf mb
;
mb
.
msg_pid
=
MUSHPID
;
mb
.
msg_data
.
d_req
=
MM_REQUEST
;
mb
.
msg_data
.
d_info
=
req
;
mb
.
msg_data
.
d_uid
=
uid
;
mb
.
msg_rply
=
1
;
sendw
(&
mb
, &
mb
,
MSG_W_POST
|
MSG_W_RCV
);
return
(
mb
.
msg_data
.
d_ldat
);
}