advgetopt/conf_file.cpp
/** \brief Get the error number opening/reading the configuration file.
 *
 * The class registers the errno value whenever an I/O error happens
 * while handling the configuration file. In most cases the function
 * is expected to return 0.
 *
 * The ENOENT error should not happen since the setup is going to be
 * marked as invalid when a configuration file does not exist and
 * you should not end up creation a conf_file object when that
 * happens. However, it is expected when you want to make some
 * changes to a few parameters and save them back to file (i.e. 
 * the very first time there will be no file under the writable
 * configuration folder.)
 *
 * \return The last errno detected while accessing the configuration file.
 */
\brief Get the error number opening/reading the configuration file.
The class registers the errno value whenever an I/O error happens
while handling the configuration file. In most cases the function
is expected to return 0.

The ENOENT error should not happen since the setup is going to be
marked as invalid when a configuration file does not exist and
you should not end up creation a conf_file object when that
happens. However, it is expected when you want to make some
changes to a few parameters and save them back to file

\return The last errno detected while accessing the configuration file.
\ brief Get the error number opening / reading the configuration file . The class registers the errno value whenever an I / O error happens while handling the configuration file . In most cases the function is expected to return 0 . The ENOENT error should not happen since the setup is going to be marked as invalid when a configuration file does not exist and you should not end up creation a conf_file object when that happens . However it is expected when you want to make some changes to a few parameters and save them back to file \ return The last errno detected while accessing the configuration file .
int conf_file::get_errno() const
{
    cppthread::guard lock(get_global_mutex());
    return f_errno;
}
int conf_file :: get_errno ( ) const { cppthread :: guard lock ( get_global_mutex ( ) ) ; return f_errno ; }
\brief Get the error number opening/reading the configuration file.
\ brief Get the error number opening / reading the configuration file .