"Das U-Boot" Source Tree

sandbox: fix OS function descriptions

* Add missing function names.
* Align names used in descriptions with function names.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>

+8 -8
+8 -8
include/os.h
··· 24 24 int os_printf(const char *format, ...); 25 25 26 26 /** 27 - * Access to the OS read() system call 27 + * os_read() - access the OS read() system call 28 28 * 29 29 * @fd: File descriptor as returned by os_open() 30 30 * @buf: Buffer to place data ··· 34 34 ssize_t os_read(int fd, void *buf, size_t count); 35 35 36 36 /** 37 - * Access to the OS write() system call 37 + * os_write() - access the OS write() system call 38 38 * 39 39 * @fd: File descriptor as returned by os_open() 40 40 * @buf: Buffer containing data to write ··· 44 44 ssize_t os_write(int fd, const void *buf, size_t count); 45 45 46 46 /** 47 - * Access to the OS lseek() system call 47 + * os_lseek() - access the OS lseek() system call 48 48 * 49 49 * @fd: File descriptor as returned by os_open() 50 50 * @offset: File offset (based on whence) ··· 67 67 off_t os_filesize(int fd); 68 68 69 69 /** 70 - * Access to the OS open() system call 70 + * os_open() - access the OS open() system call 71 71 * 72 72 * @pathname: Pathname of file to open 73 73 * @flags: Flags, like OS_O_RDONLY, OS_O_RDWR ··· 162 162 void os_tty_raw(int fd, bool allow_sigs); 163 163 164 164 /** 165 - * os_fs_restore() - restore the tty to its original mode 165 + * os_fd_restore() - restore the tty to its original mode 166 166 * 167 167 * Call this to restore the original terminal mode, after it has been changed 168 168 * by os_tty_raw(). This is an internal function. ··· 207 207 void os_usleep(unsigned long usec); 208 208 209 209 /** 210 - * Gets a monotonic increasing number of nano seconds from the OS 210 + * os_get_nsec() - get monotonically increasing number of nano seconds from OS 211 211 * 212 - * Return: a monotonic increasing time scaled in nano seconds 212 + * Return: a monotoniccally increasing time scaled in nano seconds 213 213 */ 214 214 uint64_t os_get_nsec(void); 215 215 216 216 /** 217 - * Parse arguments and update sandbox state. 217 + * os_parse_args() - parse arguments and update sandbox state. 218 218 * 219 219 * @state: sandbox state to update 220 220 * @argc: argument count