{"type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkuni255.hatenablog.com%2Fentry%2F2022%2F10%2F25%2F005443\" title=\"Swift - Interoperability with c lang - \u6a19\u6e96\u51fa\u529b\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2022-10-25 00:54:43","categories":[],"version":"1.0","description":"The function is shown below obtains the machine model by calling the sysctlbyname function. func getModelNameBySysCtl() -> String{ let name = \"hw.machine\" var size: Int = 0 var result: String = \"\" var funcRet: Int32 = -1 sysctlbyname( name, nil, &size, nil, 0 ) if size > 0 { let valuePointer = Unsaf\u2026","provider_name":"Hatena Blog","blog_title":"\u6a19\u6e96\u51fa\u529b","width":"100%","author_name":"kuni255","blog_url":"https://kuni255.hatenablog.com/","height":"190","provider_url":"https://hatena.blog","url":"https://kuni255.hatenablog.com/entry/2022/10/25/005443","title":"Swift - Interoperability with c lang","author_url":"https://blog.hatena.ne.jp/kuni255/","image_url":null}