Created
February 23, 2012 15:19
-
-
Save vaiorabbit/1893267 to your computer and use it in GitHub Desktop.
Excerpt from lv.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* lv.c */ | |
#define GREP_COMMAND "lgrep" | |
/* ... */ | |
private void LvInit( byte **argv ) | |
{ | |
/* ... */ | |
else | |
ptr = argv[ 0 ]; | |
if( !strncmp( ptr, GREP_COMMAND, strlen( GREP_COMMAND ) ) | |
|| !strncmp( ptr, GREP_COMMAND_DOS, strlen( GREP_COMMAND_DOS ) ) ) | |
grep_mode = TRUE; | |
else | |
grep_mode = FALSE; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment