mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 01:42:58 +08:00
Fix various typos
This commit is contained in:
committed by
Xiang Xiao
parent
0bdf713df0
commit
849f760b77
@@ -1396,7 +1396,7 @@ int nx_stat(FAR const char *path, FAR struct stat *buf, int resolve);
|
||||
* Input Parameters:
|
||||
* filep - File structure instance
|
||||
* buf - The stat to be modified
|
||||
* flags - The vaild field in buf
|
||||
* flags - The valid field in buf
|
||||
*
|
||||
* Returned Value:
|
||||
* Upon successful completion, 0 shall be returned. Otherwise, the
|
||||
|
||||
@@ -207,7 +207,7 @@ size_t procfs_memcpy(FAR const char *src, size_t srclen,
|
||||
* Description:
|
||||
* This function is same with snprintf, except return values.
|
||||
* If buf has no enough space and output was truncated due to size limit,
|
||||
* snprintf: return formated string len.
|
||||
* snprintf: return formatted string len.
|
||||
* procfs_snprintf: return string len which has written to buf.
|
||||
*
|
||||
* Input Parameters:
|
||||
|
||||
@@ -324,7 +324,7 @@
|
||||
|
||||
/* Auto-negotiation next page advertisement */
|
||||
|
||||
#define MII_NPADVERTISE_CODE 0x07ff /* Bits 0-10: message/un-formated code field */
|
||||
#define MII_NPADVERTISE_CODE 0x07ff /* Bits 0-10: message/un-formatted code field */
|
||||
#define MII_NPADVERTISE_TOGGLE (1 << 11) /* Bit 11: Toggle */
|
||||
#define MII_NPADVERTISE_ACK2 (1 << 12) /* Bit 12: Acknowledgement 2 */
|
||||
#define MII_NPADVERTISE_MSGPAGE (1 << 13) /* Bit 13: Message page */
|
||||
|
||||
Reference in New Issue
Block a user