用TCP/IP进行网际互连这本书得源代码,偶得,希望大家喜欢.推荐下载

源代码在线查看: sprintf.c,v

软件大小: 601 K
上传用户: jaysdy1117
关键词: TCP IP 互连
下载地址: 免注册下载 普通下载 VIP

相关代码

				head	1.1;				access;				symbols;				locks					dls:1.1; strict;				comment	@ * @;												1.1				date	97.09.21.19.27.40;	author dls;	state Dist;				branches;				next	;												desc				@@												1.1				log				@pre-3e code				@				text				@/* sprintf.c - sprintf */								static sprntf();								/*------------------------------------------------------------------------				 *  sprintf  --  format arguments and place output in a string				 *------------------------------------------------------------------------				 */				sprintf(str, fmt, args)				        char *str;				        char *fmt;				{				        int     sprntf();				        char    *s;									        s = str;				        _doprnt(fmt, &args, sprntf, &s);				        *s++ = '\0';								        return((int)str);				}								/*------------------------------------------------------------------------				 *  sprntf  --  routine called by doprnt to handle each character				 *------------------------------------------------------------------------				 */								static	sprntf(cpp, c)				        char    **cpp;				        char    c;				{				        return(*(*cpp)++ = c);				}												@							

相关资源