⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fputstr.c

📁 一个c语言写做的编译器的源码
💻 C
字号:
/*@A (C) 1992 Allen I. Holub                                                */
#include <stdio.h>
#include <tools/debug.h>
#include <tools/compiler.h>

/* FPUTSTR.C: Print a string with control characters mapped to readable strings.
 */

void	fputstr( str, maxlen, stream )
char	*str;
int	maxlen;
FILE	*stream;
{
    char *s;

    while( *str  &&  maxlen >= 0 )
    {
	s = bin_to_ascii( *str++, 1 );
	while( *s && --maxlen >= 0 )
	    putc( *s++ , stream );
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -