Go to the documentation of this file. 39 #ifndef LIBITE_STRDUPA_H 40 #define LIBITE_STRDUPA_H 42 #if !defined(HAVE_STRDUPA) 44 #define HAVE_STRDUPA 1 58 #define strdupa(src) (__extension__ ({ \ 59 size_t len_ = strlen(src); \ 60 char *dst_ = __builtin_alloca(len_ + 1); \ 62 (char *)memcpy(dst_, src, len_); \ 66 #error strdupa() may use an unsupported GNU C API, please forward any fix to maintainer, cheers!