mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 10:46:28 +08:00
include/sys/param.h: Add a dummy sys/param.h header file. This is not a standard file but is used by other systems and having the dummy file may minimize some porting efforts.
This commit is contained in:
+10
-1
@@ -97,7 +97,16 @@ extern "C"
|
||||
#define EXTERN extern
|
||||
#endif
|
||||
|
||||
/* Functions to convert between nost and network byte ordering */
|
||||
/* Functions to convert between host and network byte ordering.
|
||||
*
|
||||
* REVISIT: Since network order is defined as big-endian, the following
|
||||
* functions are equivalent to functions declared in endian.h:
|
||||
*
|
||||
* htonl htobe32
|
||||
* htons htobe16
|
||||
* ntohl be32toh
|
||||
* ntohs be16toh
|
||||
*/
|
||||
|
||||
uint32_t ntohl(uint32_t nl);
|
||||
uint16_t ntohs(uint16_t ns);
|
||||
|
||||
Reference in New Issue
Block a user