strerror Questions

2

Solved

I'm fixing some Linux code which used strerror (not thread-safe) for multi-threading. I found that strerror_r and strerror_l are both thread-safe. Due to different definitions for strerror_r (depen...
Infantine asked 9/1, 2015 at 10:26

7

Solved

I can use perror() or strerror() to print the "human readable" error message belonging to an errno, but what if I also want to print the symbolic name (e.g., "EAGAIN") of the er...
Find asked 10/11, 2013 at 1:48

1

VxWorks provides a version of strerror_r that only takes two parameters. STATUS strerror_r ( int errcode, /* error number */ char *buffer /* string buffer */ ) cURL mentions MAXERRSTR_SIZE. ...
Annulation asked 4/4, 2014 at 7:33
1

© 2022 - 2024 — McMap. All rights reserved.