This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Fw: Will strerror messages be automatically translated...
- From: "frank ernest" <doark at mail dot com>
- To: libc-help at sourceware dot org
- Date: Fri, 8 Aug 2014 18:33:24 +0200
- Subject: Fw: Will strerror messages be automatically translated...
- Authentication-results: sourceware.org; auth=none
- References: <trinity-b4dd573c-e639-4555-b867-32a237fb4794-1407377936078 at 3capp-mailcom-lxa15>
- Sensitivity: Normal
Will strerror messages be automatically translated or do I have to call gettext on them?
In other words:
err_str = strerror(errno);
fprintf(stderr, err_str );
OR
err_str = strerror(errno);
fprintf(stderr, gettext(err_str) );