@@ -75,19 +75,19 @@ struct ShmId
7575end
7676
7777mutable struct ShmInfo
78- atime:: UInt64 # last attach time
79- dtime:: UInt64 # last detach time
80- ctime:: UInt64 # last change time
81- segsz:: UInt64 # size of the public area
82- id:: Int32 # shared memory identifier
83- cpid:: Int32 # process ID of creator
84- lpid:: Int32 # process ID of last operator
85- nattch:: Int32 # no. of current attaches
86- mode:: UInt32 # lower 9 bits of access modes
87- uid:: UInt32 # effective user ID of owner
88- gid:: UInt32 # effective group ID of owner
89- cuid:: UInt32 # effective user ID of creator
90- cgid:: UInt32 # effective group ID of creator
78+ atime:: time_t # last attach time
79+ dtime:: time_t # last detach time
80+ ctime:: time_t # last change time
81+ segsz:: Int64 # size of the public area
82+ id:: Cint # shared memory identifier
83+ cpid:: pid_t # process ID of creator
84+ lpid:: pid_t # process ID of last operator
85+ nattch:: shmatt_t # no. of current attaches
86+ mode:: mode_t # lower 9 bits of access modes
87+ uid:: uid_t # effective user ID of owner
88+ gid:: gid_t # effective group ID of owner
89+ cuid:: uid_t # effective user ID of creator
90+ cgid:: gid_t # effective group ID of creator
9191 ShmInfo () = new (0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 ,0 )
9292end
9393
0 commit comments