c

package
v0.8.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LLGoPackage = "decl"
)

Variables

This section is empty.

Functions

func Unreachable

func Unreachable()

Types

type Char

type Char = int8

func AllocaCStr

func AllocaCStr(s string) *Char

func Str

func Str(string) *Char

type FilePtr added in v0.5.0

type FilePtr = unsafe.Pointer
var Stderr FilePtr
var Stdin FilePtr
var Stdout FilePtr

type Int

type Int = C.int

func Fprintf added in v0.5.0

func Fprintf(fp FilePtr, format *Char, __llgo_va_list ...any) Int

func Printf

func Printf(format *Char, __llgo_va_list ...any) Int

func Rand

func Rand() Int

type Pointer

type Pointer = unsafe.Pointer

func Advance added in v0.5.0

func Advance(ptr Pointer, offset int) Pointer

func Alloca

func Alloca(size uintptr) Pointer

func Malloc

func Malloc(size uintptr) Pointer

func Memcpy

func Memcpy(dst, src Pointer, n uintptr) Pointer

func Memset added in v0.5.0

func Memset(s Pointer, c Int, n uintptr) Pointer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL