[all-commits] [llvm/llvm-project] 3bbbec: [libc] add strndup

michaelrj-google via All-commits all-commits at lists.llvm.org
Mon Nov 1 12:53:02 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3bbbec1ae7b7b3c3dc4e6a1801fb5bdb930aad79
      https://github.com/llvm/llvm-project/commit/3bbbec1ae7b7b3c3dc4e6a1801fb5bdb930aad79
  Author: Michael Jones <michaelrj at google.com>
  Date:   2021-11-01 (Mon, 01 Nov 2021)

  Changed paths:
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/spec/stdc.td
    M libc/src/string/CMakeLists.txt
    A libc/src/string/strndup.cpp
    A libc/src/string/strndup.h
    M libc/test/src/string/CMakeLists.txt
    A libc/test/src/string/strndup_test.cpp

  Log Message:
  -----------
  [libc] add strndup

add an implementation of strndup

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D112846




More information about the All-commits mailing list