Skip to content

A Safe, Overflow-Proof String Library, written in C, especially useful in Tiny Microprocessors, but equally useful for PCs.

License

Notifications You must be signed in to change notification settings

altruistic/ezi_str

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ezi_str

A Safe, Overflow-Proof String Library, written in C, especially useful in Tiny Microprocessors, but equally useful for PCs.

Example using a passed-in ezi_str, and a locally declared ezi_str:

void BarcodeReader( byte _channel, byte _state, EZI_STR_T *response )
{
	EZI_STR( command, 6, "" );
	byte seq_status;

	ezi_snprintf( command, "%c%c", _state ? '1' : '0', hex36range( _channel ) );
	acc_comms( command, response, &seq_status );

	SetAccessoryStatus( _channel, _state, seq_status );
}

About

A Safe, Overflow-Proof String Library, written in C, especially useful in Tiny Microprocessors, but equally useful for PCs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published