Open64 (mfef90, whirl2f, and IR tools)
TAG: version-openad; SVN changeset: 916
|
00001 /* $Id: x_string.c,v 1.3 2004-02-28 21:05:05 eraxxon Exp $ */ 00002 /* -*-Mode: C;-*- */ 00003 /* * BeginRiceCopyright ***************************************************** 00004 * 00005 * ******************************************************* EndRiceCopyright */ 00006 00007 /*************************** System Include Files ***************************/ 00008 00009 #include <string.h> 00010 00011 /**************************** User Include Files ****************************/ 00012 00013 #include "x_string.h" 00014 00015 /**************************** Forward Declarations **************************/ 00016 00017 /****************************************************************************/ 00018 00019 extern int ux_strcasecmp(const char *s1, const char *s2) 00020 { return strcasecmp(s1, s2); } 00021 00022 extern int ux_strncasecmp(const char *s1, const char *s2, size_t n) 00023 { return strncasecmp(s1, s2, n); } 00024 00025 00026 extern char *ux_strdup(const char *s1) 00027 { return strdup(s1); } 00028 00029 00030 extern void *ux_memccpy(void * /*restrict*/ s1, 00031 const void * /*restrict*/ s2, 00032 int c, size_t n) 00033 { return memccpy(s1, s2, c, n); }