mirror of
https://github.com/saymrwulf/pulp-runtime.git
synced 2026-05-14 20:48:09 +00:00
41 lines
1.1 KiB
C
41 lines
1.1 KiB
C
/*
|
|
* Copyright (C) 2019 ETH Zurich, University of Bologna
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
#ifndef __RTIO_STRING_H__
|
|
#define __RTIO_STRING_H__
|
|
|
|
#include <stddef.h>
|
|
|
|
//#define NULL ((void *)0)
|
|
|
|
void *memset(void *s, int c, size_t n);
|
|
|
|
void *memcpy(void *dst0, const void *src0, size_t len0);
|
|
|
|
int strcmp(const char *s1, const char *s2);
|
|
|
|
int strncmp(const char *s1, const char *s2, size_t n);
|
|
|
|
extern char *strchr(const char *s, int c);
|
|
|
|
extern void *memmove(void *d, const void *s, size_t n);
|
|
|
|
extern char *strcpy(char *d, const char *s);
|
|
extern char *strcat(char *dest, const char *src);
|
|
|
|
size_t strlen(const char *str);
|
|
|
|
#endif
|