ld

package
v0.0.0-...-520c228 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2017 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const Beof = -1

Variables

This section is empty.

Functions

func Access

func Access(name string, mode int) int

func AtExit

func AtExit(f func())

func Bflush

func Bflush(b *Biobuf) error

func Bgetc

func Bgetc(b *Biobuf) int

func Bgetrune

func Bgetrune(b *Biobuf) int

func Blinelen

func Blinelen(b *Biobuf) int

func Boffset

func Boffset(b *Biobuf) int64

func Bputc

func Bputc(b *Biobuf, c byte)

func Brdline

func Brdline(b *Biobuf, delim int) string

func Brdstr

func Brdstr(b *Biobuf, delim int, cut int) string

func Bread

func Bread(b *Biobuf, p []byte) int

func Bseek

func Bseek(b *Biobuf, offset int64, whence int) int64

func Bterm

func Bterm(b *Biobuf) error

func Bungetc

func Bungetc(b *Biobuf)

func Bungetrune

func Bungetrune(b *Biobuf)

func Bwrite

func Bwrite(b *Biobuf, p []byte) (int, error)

func Bwritestring

func Bwritestring(b *Biobuf, p string) (int, error)

func Exit

func Exit(code int)

Types

type Biobuf

type Biobuf struct {
	// contains filtered or unexported fields
}

func Binitw

func Binitw(w *os.File) *Biobuf

func Bopenr

func Bopenr(name string) (*Biobuf, error)

func Bopenw

func Bopenw(name string) (*Biobuf, error)

func (*Biobuf) Flush

func (b *Biobuf) Flush() error

func (*Biobuf) Read

func (b *Biobuf) Read(p []byte) (int, error)

func (*Biobuf) Write

func (b *Biobuf) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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