mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
SYSLOG channel add functions return handle to the channel.
This commit is contained in:
committed by
Xiang Xiao
parent
038941b11d
commit
e189d83e11
@@ -233,13 +233,12 @@ int syslog_initialize(void);
|
||||
* file.
|
||||
*
|
||||
* Returned Value:
|
||||
* Zero (OK) is returned on success; a negated errno value is returned on
|
||||
* any failure.
|
||||
* A pointer to the new SYSLOG channel; NULL is returned on any failure.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_SYSLOG_FILE
|
||||
int syslog_file_channel(FAR const char *devpath);
|
||||
FAR struct syslog_channel_s *syslog_file_channel(FAR const char *devpath);
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user