LibC: Add ss_family to sockaddr_storage
I'm not exactly sure if this is in the right spot in the structure, especially since I read that this is supposed to be cast into other structures.
This commit is contained in:
parent
b3be275cf7
commit
9266006349
Notes:
sideshowbarker
2024-07-19 02:11:06 +09:00
Author: https://github.com/Lubrsi Commit: https://github.com/SerenityOS/serenity/commit/92660063494 Pull-request: https://github.com/SerenityOS/serenity/pull/3454 Reviewed-by: https://github.com/bugaevc
1 changed files with 1 additions and 0 deletions
|
@ -124,6 +124,7 @@ enum {
|
|||
#define SCM_TIMESTAMP SCM_TIMESTAMP
|
||||
|
||||
struct sockaddr_storage {
|
||||
sa_family_t ss_family;
|
||||
union {
|
||||
char data[sizeof(struct sockaddr_un)];
|
||||
void* alignment;
|
||||
|
|
Loading…
Add table
Reference in a new issue