rpc_call_sync(9)
π rpc_call_sync(9) β Kernel API Manual β¨
okay so bestie, welcome to the rpc_call_sync page π this is one of those kernel API manual pages (from the Kernel API Manual set, the (9) section, iykyk) and it's honestly short and sweet. let's get into it π«Ά
πΈ NAME πΈ
rpc_call_sync β Perform a synchronous RPC call β‘
like. that's the whole vibe. it does an RPC call. and it does it synchronously. no cap. β¨
π¦ SYNOPSIS π¦
int rpc_call_sync (struct rpc_clnt *clnt , const struct rpc_message *msg
, int flags );
that's the whole signature, copy it exactly bestie, don't be out here retyping it from memory π
π ARGUMENTS π
clntβ pointer to RPC client π«Ά literally just a pointer to the RPC client, that's it, that's the whole thingmsgβ RPC call parameters π¨ the parameters for this RPC call go in hereflagsβ RPC call flags π© the flags for the RPC call. flags. yes. they exist, they're flags π
π SEE ALSO π
okay this part is a whole friend group of related functions β all from Kernel file ./net/sunrpc/clnt.c β go say hi to all of them:
rpc_create(9)rpc_clone_client(9)rpc_clone_client_set_auth(9)rpc_switch_client_transport(9)rpc_clnt_iterate_for_each_xprt(9)rpc_cancel_tasks(9)rpc_hold_client(9)rpc_release_client(9)rpc_bind_new_program(9)rpc_run_task(9)rpc_call_async(9)rpc_run_bc_task(9)rpc_prepare_reply_pages(9)rpc_peeraddr(9)rpc_peeraddr2str(9)rpc_localaddr(9)rpc_net_ns(9)rpc_max_payload(9)rpc_max_bc_payload(9)rpc_force_rebind(9)rpc_clnt_test_and_add_xprt(9)rpc_clnt_setup_test_and_add_xprt(9)rpc_clnt_add_xprt(9)
ngl that's a lot of xprt functions but they're all iconic in their own way π don't skip them, they're here for a reason π§
and that's the page bestie, we ate π this one came from the ./net/sunrpc source, dated October 2026, and the page itself is rpc_call_sync(9) β periodt πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms