📄 readme
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -