[libc-commits] [PATCH] D124421: [libc] add printf writer

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue May 3 10:14:55 PDT 2022


michaelrj added inline comments.


================
Comment at: libc/src/stdio/printf_core/string_writer.h:42
+  // cur_buffer, regardless of available_capacity.
+  void terminate() { *cur_buffer = '\0'; }
+};
----------------
sivachandra wrote:
> I suppose this method will be used by `s*printf` functions explicitly?
yes.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124421/new/

https://reviews.llvm.org/D124421



More information about the libc-commits mailing list