[libc-commits] [PATCH] D111913: [libc] add stpcpy and stpncpy

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Oct 15 16:14:48 PDT 2021


michaelrj created this revision.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added a project: libc-project.
michaelrj requested review of this revision.

Adds an implementation for stpcpy and stpncpy, which are posix extension
functions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D111913

Files:
  libc/config/linux/x86_64/entrypoints.txt
  libc/spec/posix.td
  libc/src/string/CMakeLists.txt
  libc/src/string/stpcpy.cpp
  libc/src/string/stpcpy.h
  libc/src/string/stpncpy.cpp
  libc/src/string/stpncpy.h
  libc/test/src/string/CMakeLists.txt
  libc/test/src/string/stpcpy_test.cpp
  libc/test/src/string/stpncpy_test.cpp
  libc/test/src/string/strcpy_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111913.380117.patch
Type: text/x-patch
Size: 11432 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20211015/97b590f6/attachment.bin>


More information about the libc-commits mailing list