How do I obtain `sizeof(struct sigaction)`? Clang.jl?

As a compact function:

julia> using Clang

julia> function sizeof_sigaction()
           temp_header = tempname()*".h"
           open(temp_header, "w") do f
                  write(f, "#include <signal.h>\n")
           end
           trans = Clang.parse_header(Index(), temp_header, Clang.get_default_args())
           rm(temp_header)
           cursor = Clang.getTranslationUnitCursor(trans)
           sigaction = Clang.search(children(cursor), c->Clang.name(c) == "sigaction")[1]
           sigaction_type = Clang.getCursorType(sigaction)
           return Clang.getSizeOf(sigaction_type)
       end
sizeof_sigaction (generic function with 1 method)

julia> sizeof_sigaction()
152