Lines Matching defs:ptr
43 char *ptr, *p1, *p2;
73 ptr = buf;
74 while( (p1 = strchr( ptr, '<' )) != NULL &&
82 ptr = p2;
111 char buf[ STRLEN ], *ptr;
152 ptr = "Accept: */*\n\n";
153 NetWrite( nFile, ptr, strlen(ptr) );
154 debug_logit( ptr );
159 if( (ptr = strchr( line, ' ' )) != NULL ) {
160 ans = (int)strtol( ptr+1, (char**)0, 0 );
211 char *ptr;
214 if( (ptr = strrchr( lpath, '/' )) == NULL )
216 *ptr = '\0';
217 sfsprintf( linkfile, sizeof(linkfile), "%s/._dir.%s", lpath, ptr+1 );
218 *ptr = '/';
237 char *rpath, *ptr;
242 if( (ptr = strrchr( rpath, '/' )) != NULL &&
243 strcmp( ptr, "/index.html" ) == 0 ) {
245 *ptr = '\0';
246 ptr = strrchr( srv->lpath, '/' );
247 *ptr = '\0';