rminnichinitial1fcdf7916 years agoHistory
17 lines · 319 B · C
RawDownload
#include <u.h>#include <libc.h>#include "String.h" extern String*	_s_alloc(void); /* return a String containing a character array (this had better not grow) */extern String *s_array(char *cp, int len){	String *sp = _s_alloc(); 	sp->base = sp->ptr = cp;	sp->end = sp->base + len;	sp->fixed = 1;	return sp;}

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