summaryrefslogtreecommitdiff
path: root/src/bin/strstr.c
blob: 9b244ec4fd5d7694e50142283d8ef9b8ee6be8e8 (plain) (blame)
1
2
3
4
5
6
7
#include <stdio.h>
#include <string.h>

int main(int argc,char *argv[]) {
 if(argc < 3) return printf("usage: strstr big little\n"),2;
 else return !strstr(argv[1],argv[2]);
}