File: string.h

package info (click to toggle)
arcboot 0.3.8.6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,268 kB
  • ctags: 2,395
  • sloc: ansic: 14,890; makefile: 776; awk: 311; sh: 167; sed: 12
file content (23 lines) | stat: -rw-r--r-- 723 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * Copyright 1999 Silicon Graphics, Inc.
 *           2001 Guido Guenther <agx@sigxcpu.org>
 */
#ifndef _STRING_H_
#define _STRING_H_

#include "stddef.h"

extern size_t strlen(const char *s);
extern int strcmp(const char *s1,const char *s2);
extern int strncmp(const char *s1, const char *s2, size_t n);
extern char *strchr(const char *s, int c);
extern char *strcpy(char *s1, const char *s2);
extern char *strncpy(char *s1, const char *s2, size_t n);
extern char *strdup(const char *s1);

extern void *memcpy(void *s1, const void *s2, size_t n);
extern void *memset(void *s, int c, size_t n);
int memcmp(const void * cs,const void * ct,size_t count);
extern void __bzero(char *p, int len);

#endif				/* _STRING_H_ */