xdr.netobj.c
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· C语言 代码 · 共 39 行
C
39 行
# ifndef lintstatic char *sccsid = "@(#)xdr.netobj.c 4.1 (ULTRIX) 7/2/90";# endif not lint/**************************************************************** * * * Licensed to Digital Equipment Corporation, Maynard, MA * * Copyright 1985 Sun Microsystems, Inc. * * All rights reserved. * * * ****************************************************************//**//* * Modification history: * ~~~~~~~~~~~~~~~~~~~~ * * revision comments * -------- ----------------------------------------------- * * 18-Jan-88 fries * Added Header and Copyright notice. * * */#include <sys/types.h>#include <rpc/types.h>#include <rpc/xdr.h>#include <stdio.h>bool_txdr_netobj(xdrs, np) XDR *xdrs; struct netobj *np;{ return (xdr_bytes(xdrs, &np->n_bytes, &np->n_len, MAX_NETOBJ_SZ));}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?