projects
/
unix-history
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
This commit was generated by cvs2svn to track changes on a CVS vendor
[unix-history]
/
usr.bin
/
vi
/
clib
/
Xaddnstr.c
Commit
Line
Data
1e64b3ba
JH
1
#include <sys/cdefs.h>
2
3
#include <curses.h>
4
5
int
6
addnstr(s, n)
7
const char *s;
8
int n;
9
{
10
int ch;
11
12
while (n-- && (ch = *s++))
13
addch(ch);
14
return (OK);
15
}