Home
last modified time | relevance | path

Searched refs:new_rpc (Results 1 – 1 of 1) sorted by relevance

/freebsd-14-stable/lib/libc/rpc/
HDgetrpcent.c663 struct rpcent new_rpc; in rpc_marshal_func() local
707 new_rpc = *rpc; in rpc_marshal_func()
715 if (new_rpc.r_name != NULL) { in rpc_marshal_func()
716 size = strlen(new_rpc.r_name); in rpc_marshal_func()
717 memcpy(p, new_rpc.r_name, size); in rpc_marshal_func()
718 new_rpc.r_name = p; in rpc_marshal_func()
722 if (new_rpc.r_aliases != NULL) { in rpc_marshal_func()
724 memcpy(p, new_rpc.r_aliases, sizeof(char *) * aliases_size); in rpc_marshal_func()
725 new_rpc.r_aliases = (char **)p; in rpc_marshal_func()
728 for (alias = new_rpc.r_aliases; *alias; ++alias) { in rpc_marshal_func()
[all …]