{"id":"runtime--Library.CallInt0","name":"Library.CallInt0","owner":"yeho","package":"runtime.Library","kind":"builtin","signature":"Library.CallInt0(text library, text symbol, int fallback) -> int","description":"Call int0 through the Library runtime.","context":"Built into Yeho; no package import is needed. Native services require an admitted host and the correct resource lifecycle.","parameters":[{"name":"library","type":"text","description":"Supply library as text.","rule":"Text"},{"name":"symbol","type":"text","description":"Supply symbol as text.","rule":"Text"},{"name":"fallback","type":"int","description":"Supply fallback as int.","rule":"Int"}],"returns":"int","members":[],"tags":["builtin","cpu","library","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"src/compiler/common/intrinsic_registry.cpp","line":798,"sha256":"14d29529d2d3c0e2b587f83c7f125b99ada142ed7ae28612701ea6cb9174ac65"},"status":"registered-intrinsic","notes":["The example checks the call shape. Opening windows, recording audio, changing files, network operations, and process operations have real effects when run. Follow the corresponding package lifecycle before using live resources."],"examples":[{"id":"usage","title":"Call Library.CallInt0","description":"A complete typed caller with illustrative arguments. Native operations need the corresponding host and resources.","code":"text library = \"library\"\ntext symbol = \"symbol\"\nint fallback = 1\nint result = Library.CallInt0(library, symbol, fallback)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.runtime__library_callint0\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n","tags":["cpu","builtin"],"run":"cpu-oracle","verification":"type checked","sha256":"05bd98f27e9c53346d644a8e3e487e327804e3d51069710efaa04c0868eb5109","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=runtime--Library.CallInt0","json":"https://demonhunterlabs.com/reference/items/runtime--Library.CallInt0.json","markdown":"https://demonhunterlabs.com/reference/text/runtime--Library.CallInt0.md"}
