Skip to main content
Module

x/ddc_vim/deps.ts>fn.libcallnr

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function fn.libcallnr
import { fn } from "https://deno.land/x/ddc_vim@v2.3.0/deps.ts";
const { libcallnr } = fn;

Just like |libcall()|, but used for a function that returns an int instead of a string. {only in Win32 on some Unix versions, when the |+libcall| feature is present} Examples: :echo libcallnr("/usr/lib/libc.so", "getpid", "") :call libcallnr("libc.so", "printf", "Hello World!\n") :call libcallnr("libc.so", "sleep", 10) Can also be used as a |method|, the base is passed as the third argument: GetValue()->libcallnr("libc.so", "printf")

Parameters

denops: Denops
libname: unknown
funcname: unknown
argument: unknown

Returns

Promise<unknown>