source: trunk/libs/newlib/src/newlib/libc/argz/buf_findstr.h @ 444

Last change on this file since 444 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 469 bytes
Line 
1/* Copyright (C) 2002 by  Red Hat, Incorporated. All rights reserved.
2 *
3 * Permission to use, copy, modify, and distribute this software
4 * is freely granted, provided that this notice is preserved.
5 */
6
7#include <sys/types.h>
8
9/* Find string str in buffer buf of length buf_len.  Point buf to
10   character after string, or set it to NULL if end of buffer is
11   reached.  Return 1 if found, 0 if not. */
12int _buf_findstr(const char *str, char **buf, size_t *buf_len);
Note: See TracBrowser for help on using the repository browser.