source: buchla-68k/include/strings.h@ 7258c6a

Last change on this file since 7258c6a was 7258c6a, checked in by Thomas Lopatic <thomas@…>, 7 years ago

Use standard integer types.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1/*
2 ============================================================================
3 strings.h -- definitions for strnglib
4 Version 3 -- 1987-04-21 -- D.N. Lynx Crowe
5 ============================================================================
6*/
7
8extern int8_t *strccpy(int8_t *s1, int8_t *s2, int8_t c);
9extern int8_t *strcpy(int8_t *s1, int8_t *s2);
10extern int8_t *strncpy(int8_t *s1, int8_t *s2, int16_t n);
11extern int8_t *strcat(int8_t *s1, int8_t *s2);
12extern int8_t *strncat(int8_t *s1, int8_t *s2, int16_t n);
13extern int8_t *strchr(int8_t *sp, int8_t c);
14extern int8_t *strrchr(int8_t *sp, int8_t c);
15extern int8_t *strpbrk(int8_t *string, int8_t *brkset);
16extern int8_t *strtok(int8_t *string, int8_t *sepset);
17extern int8_t *index(int8_t *str, int8_t c);
18extern int8_t *rindex(int8_t *str, int8_t c);
19extern int8_t *str2lc(int8_t *s);
20extern int8_t *str2uc(int8_t *s);
21
22extern int16_t strcmp(int8_t *s1, int8_t *s2);
23extern int16_t strlcmp(int8_t *s, int8_t *l[]);
24extern int16_t strncmp(int8_t *s1, int8_t *s2, int16_t n);
25extern int16_t strlen(int8_t *s);
26extern int16_t strspn(int8_t *string, int8_t *charset);
27extern int16_t strcspn(int8_t *string, int8_t *charset);
28
29extern int32_t strtol(int8_t *str, int8_t **ptr, int16_t base);
30
31
Note: See TracBrowser for help on using the repository browser.