aboutsummaryrefslogtreecommitdiffstats
path: root/tbl_qcmd.h
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2017-04-20 10:43:28 +0100
committerFreeArtMan <dos21h@gmail.com>2017-04-20 10:43:28 +0100
commit5007608202739ed1835ffc10a54dba02bc0f361f (patch)
tree47baa281b0c767c5732025a39b74ca9d9f4785c5 /tbl_qcmd.h
parentac515d5ab9cebc863d5c34eaa2183c67c6e412d5 (diff)
downloadagni-5007608202739ed1835ffc10a54dba02bc0f361f.tar.gz
agni-5007608202739ed1835ffc10a54dba02bc0f361f.zip
Add command executor command check
Diffstat (limited to 'tbl_qcmd.h')
-rw-r--r--tbl_qcmd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tbl_qcmd.h b/tbl_qcmd.h
index acd3da7..5f66386 100644
--- a/tbl_qcmd.h
+++ b/tbl_qcmd.h
@@ -168,7 +168,7 @@ Input:
tbl - table of executed commands
cmd - command name to search in the list
Output:
- >=0 - if everything whent ok
+ >=0 - if everything whent ok, return position of command in array
-1 - if there was some kind of mistake
*/
int tbl_exec_in_s(tbl_exec *tbl, char *cmd);