readme
来自「this gives details of the network progra」· 代码 · 共 18 行
TXT
18 行
This directory contains an RPC based system for looking up remote user namesand uids. The server provides 2 remote procedures: byname : given a username it returns the corresponding uid, or -1 if none bynum : given a uid, it returns the corresponding username or "ERROR" if none found.Files:userlookup.x: the protocol definition file. userlookup_services.c: the code for the remote procedures.userlookup_client.c: the client main().The other files are generated by rpcgen (_svc.c, _clnt.c, _xdr.c & .h).This example shows how to use a string parameter with RPC, in this case theusername is a string with maximum length 10.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?