1 /* Copyright (C) 2002 by Red Hat, Incorporated. All rights reserved.
3 * Permission to use, copy, modify, and distribute this software
4 * is freely granted, provided that this notice is preserved.
13 #include "buf_findstr.h"
16 envz_get (const char *envz
,
20 char *buf_ptr
= (char *)envz
;
21 size_t buf_len
= envz_len
;
25 if (_buf_findstr(name
, &buf_ptr
, &buf_len
))
30 return (char *)buf_ptr
;
40 /* No matching entries found. */