Note that there are C2Y proposals both to add strnlen / wcsnlen 
<https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3326.pdf> and to allow 
null pointer arguments with zero size to string functions 
<https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3322.pdf>.

-- 
Joseph S. Myers
josmy...@redhat.com

  • Re: Is strnlen(0,0)... Jonathan Wakely via austin-group-l at The Open Group
    • Re: Is strnlen... Vincent Lefevre via austin-group-l at The Open Group
      • Re: Is str... Geoff Clare via austin-group-l at The Open Group
        • Re: Is... Vincent Lefevre via austin-group-l at The Open Group
          • Re... Geoff Clare via austin-group-l at The Open Group
            • ... Vincent Lefevre via austin-group-l at The Open Group
              • ... Geoff Clare via austin-group-l at The Open Group
              • ... Vincent Lefevre via austin-group-l at The Open Group
              • ... Alejandro Colomar via austin-group-l at The Open Group
              • ... Geoff Clare via austin-group-l at The Open Group
  • Re: Is strnlen(0,0)... Joseph Myers via austin-group-l at The Open Group

Reply via email to