Logo Search packages:      
Sourcecode: ardour version File versions  Download package

Glib::ustring Glib::strerror ( int  errnum  ) 

Returns a string corresponding to the given error code, e.g. "no such process".

This function is included since not all platforms support the strerror() function.

errnum The system error number. See the standard C errno documentation.
A string describing the error code. If the error code is unknown, "unknown error (<errnum>)" is returned.

Definition at line 108 of file stringutils.cc.

Referenced by MackieControlProtocol::poll_ports().

  return g_strerror(errnum);

Generated by  Doxygen 1.6.0   Back to index