Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
3cda9603
Commit
3cda9603
authored
Aug 09, 1998
by
Per Cederqvist
Browse files
(main): Added 'q' (quit) command.
parent
befaf5ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/testsuite/test-l2g.c
View file @
3cda9603
...
...
@@ -26,6 +26,7 @@ const int ARGS = 3;
w m write
i m iterate through all texts
i m f e iterate through f..e-1
q quit
*/
int
main
(
void
)
...
...
@@ -203,6 +204,10 @@ main(void)
ok
=
1
;
}
break
;
case
'q'
:
printf
(
"test-l2g quitting
\n
"
);
fflush
(
stdout
);
return
0
;
}
if
(
ok
==
0
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment