Changeset 5003:955e3f977a2d in roaraudio


Ignore:
Timestamp:
05/24/11 14:57:21 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added roar_mm_strscpy() and roar_mm_strscat()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/memmgr.h

    r5002 r5003  
    139139#endif 
    140140 
     141#define roar_mm_strscpy(dst,src) roar_mm_strlcpy((dst),(src),sizeof((dst))) 
     142 
    141143#ifndef ROAR_HAVE_STRLCAT 
    142144ssize_t roar_mm_strlcat(char *dst, const char *src, size_t size); 
     
    144146#define roar_mm_strlcat(dst,src,size) strlcat((dst),(src),(size)) 
    145147#endif 
     148 
     149#define roar_mm_strscat(dst,src) roar_mm_strlcat((dst),(src),sizeof((dst))) 
    146150 
    147151#ifndef ROAR_HAVE_STRTOK_R 
Note: See TracChangeset for help on using the changeset viewer.