Skip to content

Commit

Permalink
hurd: Complete C API interface
Browse files Browse the repository at this point in the history
This aligns it on what can be found for linux.
  • Loading branch information
sthibaul committed Nov 9, 2023
1 parent f2c1788 commit c72c68c
Show file tree
Hide file tree
Showing 3 changed files with 1,647 additions and 259 deletions.
2 changes: 2 additions & 0 deletions src/unix/hurd/b32.rs
Expand Up @@ -25,6 +25,8 @@ pub type __ulong32_type = ::c_ulong;
pub type __s64_type = ::__int64_t;
pub type __u64_type = ::__uint64_t;

pub type __ipc_pid_t = ::c_ushort;

pub type Elf32_Half = u16;
pub type Elf32_Word = u32;
pub type Elf32_Off = u32;
Expand Down
2 changes: 2 additions & 0 deletions src/unix/hurd/b64.rs
Expand Up @@ -25,6 +25,8 @@ pub type __ulong32_type = ::c_uint;
pub type __s64_type = ::c_long;
pub type __u64_type = ::c_ulong;

pub type __ipc_pid_t = ::c_int;

pub type Elf64_Half = u16;
pub type Elf64_Word = u32;
pub type Elf64_Off = u64;
Expand Down

0 comments on commit c72c68c

Please sign in to comment.