?? client.c
字號:
#include "unpipc.h"#include "square.h"intmain(int argc, char **argv){ CLIENT *cl; square_in in; square_out out; if (argc != 4) err_quit("usage: client <hostname> <integer-value> <protocol>"); cl = Clnt_create(argv[1], SQUARE_PROG, SQUARE_VERS, argv[3]); in.arg1 = atol(argv[2]); if (squareproc_2(&in, &out, cl) != RPC_SUCCESS) err_quit("%s", clnt_sperror(cl, argv[1])); printf("result: %ld\n", out.res1); exit(0);}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -