strout.c
来自「unix v7是最后一个广泛发布的研究型UNIX版本」· C语言 代码 · 共 24 行
C
24 行
#include <stdio.h>_strout(string, count, adjust, file, fillch)register char *string;register count;int adjust;register struct _iobuf *file;{ while (adjust < 0) { if (*string=='-' && fillch=='0') { putc(*string++, file); count--; } putc(fillch, file); adjust++; } while (--count>=0) putc(*string++, file); while (adjust) { putc(fillch, file); adjust--; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?