repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix up mix of man(7)/mdoc(7).
[netbsd-mini2440.git]
/
regress
/
lib
/
libc
/
ssp
/
read
/
read.c
blob
77a301328577fb3de4807e243e652a353ba88464
1
#include <sys/param.h>
2
#include <stdio.h>
3
#include <unistd.h>
4
#include <stdlib.h>
5
6
int
7
main
(
int
argc
,
char
*
argv
[])
8
{
9
char
b
[
MAXPATHLEN
];
10
size_t
len
=
atoi
(
argv
[
1
]);
11
(
void
)
read
(
0
,
b
,
len
);
12
(
void
)
printf
(
"%s
\n
"
,
b
);
13
return
0
;
14
}