mirror of
https://github.com/apache/nuttx.git
synced 2026-09-25 01:07:40 +08:00
Make sure that labeling is used consistently in all function headers.
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
* It does this by restoring the default disposition for SIGABRT and
|
||||
* then raising the signal for a second time.
|
||||
*
|
||||
* Input parameters:
|
||||
* Input Parameters:
|
||||
* None
|
||||
*
|
||||
* Returned Value:
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
* Assumptions:
|
||||
* *ptr points to the first, non-whitespace character in the string.
|
||||
*
|
||||
* Returns:
|
||||
* Returned Value:
|
||||
* - if base is valid, the actual base to use, and pptr is updated to point
|
||||
* at the first digit.
|
||||
* - if base is invalid (<2 or >36), return -1.
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
* The ptsname() function returns the name of the slave pseudoterminal
|
||||
* device corresponding to the master referred to by fd.
|
||||
*
|
||||
* Returned Values:
|
||||
* Returned Value:
|
||||
* On success, ptsname() returns a pointer to a string in static storage
|
||||
* which will be overwritten by subsequent calls. This pointer must not
|
||||
* be freed. On failure, NULL is returned.
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
* terminated string in the buffer pointed to by buf. The buflen
|
||||
* argument specifies the number of bytes available in buf.
|
||||
*
|
||||
* Returned Values:
|
||||
* Returned Value:
|
||||
* On success, ptsname_r() returns 0. On failure, a nonzero value is
|
||||
* returned and errno is set to indicate the error.
|
||||
*
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
* nptr to a long integer value according to the given base, which must be
|
||||
* between 2 and 36 inclusive, or be the special value 0.
|
||||
*
|
||||
* Returns:
|
||||
* Returned Value:
|
||||
* - The converted value, if the base and number are valid
|
||||
* - 0 if an error occurs, and set errno to:
|
||||
* * EINVAL if base < 2 or base > 36
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
* nptr to a long long integer value according to the given base, which
|
||||
* must be between 2 and 36 inclusive, or be the special value 0.
|
||||
*
|
||||
* Returns:
|
||||
* Returned Value:
|
||||
* - The converted value, if the base and number are valid
|
||||
* - 0 if an error occurs, and set errno to:
|
||||
* * EINVAL if base < 2 or base > 36
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
* nptr to a long unsigned integer value according to the given base, which
|
||||
* must be between 2 and 36 inclusive, or be the special value 0.
|
||||
*
|
||||
* Returns:
|
||||
* Returned Value:
|
||||
* - The converted value, if the base and number are valid
|
||||
* - 0 if an error occurs, and set errno to:
|
||||
* * EINVAL if base < 2 or base > 36
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
* nptr to a long unsigned integer value according to the given base, which
|
||||
* must be between 2 and 36 inclusive, or be the special value 0.
|
||||
*
|
||||
* Returns:
|
||||
* Returned Value:
|
||||
* - The converted value, if the base and number are valid
|
||||
* - 0 if an error occurs, and set errno to:
|
||||
* * EINVAL if base < 2 or base > 36
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
* unlockpt() must be called before opening the slave side of a
|
||||
* pseudoterminal.
|
||||
*
|
||||
* Returned Values:
|
||||
* Returned Value:
|
||||
* When successful, unlockpt() returns 0. Otherwise, it returns -1 and
|
||||
* sets errno appropriately.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user