~ubuntu-branches/ubuntu/vivid/emscripten/vivid

« back to all changes in this revision

Viewing changes to system/include/libc/strings.h

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-05-02 13:11:51 UTC
  • Revision ID: package-import@ubuntu.com-20130502131151-q8dvteqr1ef2x7xz
Tags: upstream-1.4.1~20130504~adb56cb
ImportĀ upstreamĀ versionĀ 1.4.1~20130504~adb56cb

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * strings.h
 
3
 *
 
4
 * Definitions for string operations.
 
5
 */
 
6
 
 
7
#ifndef _STRINGS_H_
 
8
#define _STRINGS_H_
 
9
 
 
10
#include "_ansi.h"
 
11
#include <sys/reent.h>
 
12
 
 
13
#include <sys/types.h> /* for size_t */
 
14
 
 
15
_BEGIN_STD_C
 
16
 
 
17
#if !defined __STRICT_ANSI__ && _POSIX_VERSION < 200809L
 
18
/* 
 
19
 * Marked LEGACY in Open Group Base Specifications Issue 6/IEEE Std 1003.1-2004
 
20
 * Removed from Open Group Base Specifications Issue 7/IEEE Std 1003.1-2008
 
21
 */
 
22
int      _EXFUN(bcmp,(const void *, const void *, size_t));
 
23
void     _EXFUN(bcopy,(const void *, void *, size_t));
 
24
void     _EXFUN(bzero,(void *, size_t));
 
25
char    *_EXFUN(index,(const char *, int));
 
26
char    *_EXFUN(rindex,(const char *, int));
 
27
#endif /* ! __STRICT_ANSI__ */
 
28
 
 
29
int      _EXFUN(ffs,(int));
 
30
int      _EXFUN(strcasecmp,(const char *, const char *));
 
31
int      _EXFUN(strncasecmp,(const char *, const char *, size_t));
 
32
 
 
33
_END_STD_C
 
34
 
 
35
#endif /* _STRINGS_H_ */