Home | History | Annotate | Download | only in utils

Lines Matching refs:pos

21 static char ** (*edit_completion_cb)(void *ctx, const char *cmd, int pos) =
41 static int pos = 0;
50 pos = 0;
53 for (; pending_completions[pos]; pos++) {
54 if (strncmp(pending_completions[pos], text, len) == 0)
55 return strdup(pending_completions[pos++]);
81 char *pos = str;
82 while (*pos != '\0') {
83 if (*pos == '\n') {
84 *pos = '\0';
87 pos++;
114 char ** (*completion_cb)(void *ctx, const char *cmd, int pos),