SYSLOG logic should use existing file interfaces, not re-invent them.

This commit is contained in:
Gregory Nutt
2016-07-05 12:12:44 -06:00
parent 3b825b3e00
commit a39ce80add
6 changed files with 85 additions and 61 deletions
+20
View File
@@ -895,6 +895,26 @@ off_t file_seek(FAR struct file *filep, off_t offset, int whence);
int file_fsync(FAR struct file *filep);
#endif
/****************************************************************************
* Name: file_ioctl
*
* Description:
* Perform device specific operations.
*
* Parameters:
* file File structure instance
* req The ioctl command
* arg The argument of the ioctl cmd
*
* Return:
* See ioctl() below.
*
****************************************************************************/
#if CONFIG_NFILE_DESCRIPTORS > 0
int file_ioctl(FAR struct file *filep, int req, unsigned long arg);
#endif
/****************************************************************************
* Name: file_vfcntl
*