projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
syscons util remove use kbdcontrol & vidcontrol instead
[unix-history]
/
lib
/
libF77
/
s_stop.c
#include
"stdio.h"
#include
"f2c.h"
#ifdef KR_headers
extern
void
f_exit
();
VOID
s_stop
(
s
,
n
)
char
*
s
;
ftnlen n
;
#else
#undef abs
#include
"stdlib.h"
#ifdef __cplusplus
extern
"C"
{
#endif
void
f_exit
(
void
);
int
s_stop
(
char
*
s
,
ftnlen n
)
#endif
{
int
i
;
if
(
n
>
0
)
{
fprintf
(
stderr
,
"STOP "
);
for
(
i
=
0
;
i
<
n
; ++
i
)
putc
(*
s
++,
stderr
);
fprintf
(
stderr
,
" statement executed
\n
"
);
}
f_exit
();
exit
(
0
);
#ifdef __cplusplus
return
0
;
/* NOT REACHED */
}
#endif
}