Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
stdImpl.h@0:bbc0d658b7eb, 2011-01-18 (annotated)
- Committer:
- sillevl
- Date:
- Tue Jan 18 16:39:49 2011 +0000
- Revision:
- 0:bbc0d658b7eb
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| sillevl | 0:bbc0d658b7eb | 1 | /* |
| sillevl | 0:bbc0d658b7eb | 2 | * COPYRIGHT AND PERMISSION NOTICE |
| sillevl | 0:bbc0d658b7eb | 3 | * |
| sillevl | 0:bbc0d658b7eb | 4 | * Copyright (c) 2003 Embedded Unit Project |
| sillevl | 0:bbc0d658b7eb | 5 | * |
| sillevl | 0:bbc0d658b7eb | 6 | * All rights reserved. |
| sillevl | 0:bbc0d658b7eb | 7 | * |
| sillevl | 0:bbc0d658b7eb | 8 | * Permission is hereby granted, free of charge, to any person obtaining |
| sillevl | 0:bbc0d658b7eb | 9 | * a copy of this software and associated documentation files (the |
| sillevl | 0:bbc0d658b7eb | 10 | * "Software"), to deal in the Software without restriction, including |
| sillevl | 0:bbc0d658b7eb | 11 | * without limitation the rights to use, copy, modify, merge, publish, |
| sillevl | 0:bbc0d658b7eb | 12 | * distribute, and/or sell copies of the Software, and to permit persons |
| sillevl | 0:bbc0d658b7eb | 13 | * to whom the Software is furnished to do so, provided that the above |
| sillevl | 0:bbc0d658b7eb | 14 | * copyright notice(s) and this permission notice appear in all copies |
| sillevl | 0:bbc0d658b7eb | 15 | * of the Software and that both the above copyright notice(s) and this |
| sillevl | 0:bbc0d658b7eb | 16 | * permission notice appear in supporting documentation. |
| sillevl | 0:bbc0d658b7eb | 17 | * |
| sillevl | 0:bbc0d658b7eb | 18 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| sillevl | 0:bbc0d658b7eb | 19 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| sillevl | 0:bbc0d658b7eb | 20 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT |
| sillevl | 0:bbc0d658b7eb | 21 | * OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR |
| sillevl | 0:bbc0d658b7eb | 22 | * HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY |
| sillevl | 0:bbc0d658b7eb | 23 | * SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER |
| sillevl | 0:bbc0d658b7eb | 24 | * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF |
| sillevl | 0:bbc0d658b7eb | 25 | * CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN |
| sillevl | 0:bbc0d658b7eb | 26 | * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| sillevl | 0:bbc0d658b7eb | 27 | * |
| sillevl | 0:bbc0d658b7eb | 28 | * Except as contained in this notice, the name of a copyright holder |
| sillevl | 0:bbc0d658b7eb | 29 | * shall not be used in advertising or otherwise to promote the sale, |
| sillevl | 0:bbc0d658b7eb | 30 | * use or other dealings in this Software without prior written |
| sillevl | 0:bbc0d658b7eb | 31 | * authorization of the copyright holder. |
| sillevl | 0:bbc0d658b7eb | 32 | * |
| sillevl | 0:bbc0d658b7eb | 33 | * $Id: stdImpl.h,v 1.4 2004/02/10 16:15:25 arms22 Exp $ |
| sillevl | 0:bbc0d658b7eb | 34 | */ |
| sillevl | 0:bbc0d658b7eb | 35 | #ifndef __STDIMPL_H__ |
| sillevl | 0:bbc0d658b7eb | 36 | #define __STDIMPL_H__ |
| sillevl | 0:bbc0d658b7eb | 37 | |
| sillevl | 0:bbc0d658b7eb | 38 | #ifdef __cplusplus |
| sillevl | 0:bbc0d658b7eb | 39 | extern "C" { |
| sillevl | 0:bbc0d658b7eb | 40 | #endif |
| sillevl | 0:bbc0d658b7eb | 41 | |
| sillevl | 0:bbc0d658b7eb | 42 | #ifndef NULL |
| sillevl | 0:bbc0d658b7eb | 43 | #define NULL 0 |
| sillevl | 0:bbc0d658b7eb | 44 | #endif |
| sillevl | 0:bbc0d658b7eb | 45 | |
| sillevl | 0:bbc0d658b7eb | 46 | char* stdimpl_strcpy(char *s1, const char *s2); |
| sillevl | 0:bbc0d658b7eb | 47 | char* stdimpl_strcat(char *dst, const char *src); |
| sillevl | 0:bbc0d658b7eb | 48 | char* stdimpl_strncat(char *dst, const char *src,unsigned int count); |
| sillevl | 0:bbc0d658b7eb | 49 | int stdimpl_strlen(const char *str); |
| sillevl | 0:bbc0d658b7eb | 50 | int stdimpl_strcmp(const char *s1, const char *s2); |
| sillevl | 0:bbc0d658b7eb | 51 | char* stdimpl_itoa(int v,char *string,int r); |
| sillevl | 0:bbc0d658b7eb | 52 | |
| sillevl | 0:bbc0d658b7eb | 53 | #ifdef __cplusplus |
| sillevl | 0:bbc0d658b7eb | 54 | } |
| sillevl | 0:bbc0d658b7eb | 55 | #endif |
| sillevl | 0:bbc0d658b7eb | 56 | |
| sillevl | 0:bbc0d658b7eb | 57 | #endif/*__STDIMPL_H__*/ |