summaryrefslogtreecommitdiff
path: root/test/rpc/getrpcent.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/rpc/getrpcent.c')
-rw-r--r--test/rpc/getrpcent.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/test/rpc/getrpcent.c b/test/rpc/getrpcent.c
deleted file mode 100644
index e12e76806..000000000
--- a/test/rpc/getrpcent.c
+++ /dev/null
@@ -1,18 +0,0 @@
-#include <netdb.h>
-#include <stdio.h>
-
-int main(int argc, char *argv[])
-{
- struct rpcent *ent;
-
- while ((ent = getrpcent()) != NULL) {
- printf("%s: %i", ent->r_name, ent->r_number);
- while (ent->r_aliases[0])
- printf(" %s", *ent->r_aliases++);
- printf("\n");
- }
-
- endrpcent();
-
- return 0;
-}