<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">On Feb 14, 2012, at 1:30 PM, Timur Iskhodzhanov <<a href="mailto:timurrrr@google.com">timurrrr@google.com</a>> wrote:<br><br><blockquote type="cite">On Tue, Feb 14, 2012 at 10:26 PM, Timur Iskhodzhanov<br><<a href="mailto:timurrrr@google.com">timurrrr@google.com</a>> wrote:<br><blockquote type="cite">On Tue, Feb 14, 2012 at 10:12 PM, Marshall Clow <<a href="mailto:mclow.lists@gmail.com">mclow.lists@gmail.com</a>> wrote:<br><blockquote type="cite">Isn't strchr defined to return a const char *?<br></blockquote>Not in asan_interceptors.cc :369,  :380<br></blockquote>I'm surprised but "man strchr" actually shows "char *" return type on<br>both Linux and Mac!<br></blockquote><br>strchr( ) returns a char *.<br><br><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><b>7.21.5.2 The strchr function</b></div><div><b><br></b></div></blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><b>Synopsis</b></div></blockquote><div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><br></div></blockquote></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div>     #include <string.h></div></div></blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div>     char *strchr(const char *s, int c);</div></div></blockquote><div><br></div><div>- Steve</div></body></html>