forked from KolibriOS/kolibrios
754f9336f0
git-svn-id: svn://kolibrios.org@4349 a494cfbc-eb01-0410-851d-a64ba20cac60
13 lines
481 B
C
13 lines
481 B
C
/* Copyright (C) 2002 by Red Hat, Incorporated. All rights reserved.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software
|
|
* is freely granted, provided that this notice is preserved.
|
|
*/
|
|
|
|
#include <sys/types.h>
|
|
|
|
/* Find string str in buffer buf of length buf_len. Point buf to
|
|
character after string, or set it to NULL if end of buffer is
|
|
reached. Return 1 if found, 0 if not. */
|
|
int _buf_findstr(const char *str, char **buf, size_t *buf_len);
|