IPC@CHIP® RTOS-LNX – API Documentation

Header image

Main page

◆ fossil_get_device()

int fossil_get_device ( int  port,
char *  devName,
int  devNameLen 

Gets the device file name of specific port

portport number index: 0=UART1 ... , see FOSSIL_PORT
[out]devNameCharacter pointer to a buffer where device name will be stored.
devNameLenThe size of the buffer devName points to.
-1 = When port is not opened or invalid, else
-2 = The provided buffer was to small to insert the full device name. The output was truncated. 0 on success

Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Fri Jun 8 2018 12:48:20 by Doxygen 1.8.13