2007-01-05 23:09:22 +08:00
|
|
|
/* strings.h
|
2000-02-18 03:38:33 +08:00
|
|
|
|
2007-01-05 23:09:22 +08:00
|
|
|
Copyright 2007 Red Hat, Inc.
|
2000-02-18 03:38:33 +08:00
|
|
|
|
2007-01-05 23:09:22 +08:00
|
|
|
This file is part of Cygwin.
|
|
|
|
|
|
|
|
This software is a copyrighted work licensed under the terms of the
|
|
|
|
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
|
|
|
details. */
|
|
|
|
|
|
|
|
#ifndef _STRINGS_H_
|
|
|
|
#define _STRINGS_H_
|
|
|
|
|
|
|
|
/* newlib's string.h already declares these functions. */
|
|
|
|
#ifndef _STRING_H_
|
|
|
|
|
|
|
|
#include "_ansi.h"
|
|
|
|
|
|
|
|
#define __need_size_t
|
|
|
|
#include <stddef.h>
|
|
|
|
|
|
|
|
_BEGIN_STD_C
|
|
|
|
|
|
|
|
int _EXFUN(bcmp,(const void *, const void *, size_t));
|
|
|
|
void _EXFUN(bcopy,(const void *, void *, size_t));
|
|
|
|
void _EXFUN(bzero,(void *, size_t));
|
|
|
|
int _EXFUN(ffs,(int));
|
2008-02-16 01:53:11 +08:00
|
|
|
char *_EXFUN(index,(const char *, int));
|
2007-01-05 23:09:22 +08:00
|
|
|
char *_EXFUN(rindex,(const char *, int));
|
|
|
|
int _EXFUN(strcasecmp,(const char *, const char *));
|
|
|
|
int _EXFUN(strncasecmp,(const char *, const char *, size_t));
|
|
|
|
|
|
|
|
_END_STD_C
|
|
|
|
|
|
|
|
#endif /* _STRING_H_ */
|
|
|
|
|
|
|
|
#endif /* _STRINGS_H_ */
|