Synopsis
CTL_STATUS_t ctl_ms_read_string(char *str,
                                size_t n,
                                CTL_STREAM_t file);
Description

ctl_ms_read_string reads a string from the file file into the string pointed to by str. The buffer for the string str is n characters long. str is terminated with a null character.

Return Value

ctl_ms_read_string returns a standard status code.

Thread Safety

ctl_ms_read_string is thread-safe.