Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • Except for string operations, which normally return a char * and typically cannot fail. Commented Aug 17, 2009 at 11:14
  • I probably wouldn't call str* functions IO based. But any operation on network sockets, for instance? If they return non-zero, look out. Commented Aug 17, 2009 at 11:19
  • But the question IS about string functions. Commented Aug 17, 2009 at 11:20
  • You can return address of static local variable, although it makes a function non-reenterable. Commented Aug 17, 2009 at 11:23
  • @Neil: You're right, that's a bit more important in relevance to this question, I suppose. I didn't catch it on the first comment - I'm still waking up :P Commented Aug 17, 2009 at 11:25