X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=blobdiff_plain;f=folly%2FString.h;h=9ce4be650861b941096b2af70373079931a8d64d;hp=ef0ef3f6374ff70ce0ba5b5a324e880eee3e25a6;hb=bc34a5a774095b639bef86ca3b9383b8082c8b87;hpb=3be65bf058d8b774910133384e9e91e4bb5ba4d3 diff --git a/folly/String.h b/folly/String.h index ef0ef3f6..9ce4be65 100644 --- a/folly/String.h +++ b/folly/String.h @@ -569,6 +569,9 @@ inline void toLowerAscii(MutableStringPiece str) { toLowerAscii(str.begin(), str.size()); } +// glibc doesn't have strlcpy +size_t strlcpy(char* dest, const char* const src, size_t size); + } // namespace folly // Hook into boost's type traits