File: rstat.c

package info (click to toggle)
netstd 3.07-7slink.3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 6,312 kB
  • ctags: 9,027
  • sloc: ansic: 72,107; cpp: 6,144; makefile: 1,650; yacc: 1,614; sh: 1,164; perl: 308; awk: 46
file content (12 lines) | stat: -rw-r--r-- 287 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#include <rpc/rpc.h>
#include <rpcsvc/rstat.h>

int
rstat(host, statp)
  char *host;
  struct statstime *statp;
{
  return callrpc(host, RSTATPROG, RSTATVERS_TIME, RSTATPROC_STATS,
                        (xdrproc_t) xdr_void, (char *)NULL, (xdrproc_t) xdr_statstime, (char *)statp);
}