Sigrid Solveig Haflínudóttirpc(1) port67e8be84 years agoHistory
19 lines · 295 B · C
RawDownload
#include <u.h>#include <libc.h>#include "fmtdef.h" intvfprint(int fd, char *fmt, va_list args){	Fmt f;	char buf[256];	int n; 	fmtfdinit(&f, fd, buf, sizeof(buf));	VA_COPY(f.args,args);	n = dofmt(&f, fmt);	VA_END(f.args);	if(n > 0 && __fmtFdFlush(&f) == 0)		return -1;	return n;}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t