20 lines · 252 B · C
RawDownload
#include <sys/types.h> #include <string.h> #define nil NULL char*strecpy(char *to, char *e, char *from){	if(to >= e)		return to;	to = memccpy(to, from, '\0', e - to);	if(to == nil){		to = e - 1;		*to = '\0';	}else{		to--;	}	return to;}

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