[R6RS] draft Unicode SRFI

Anton van Straaten anton
Fri Jul 1 13:43:01 EDT 2005

Michael Sperber wrote:
> Anton van Straaten <anton at appsolutions.com> writes:
>>I believe I've seen this in literals like "foo\0\0\0bar" where it's 
>>being used to e.g. initialize a C struct.
> You mean for structs like
> struct {
>  char foo_me[6];
>  char bar_me[6];
> };
> ?

That sort of thing, yes.  You might not use that specific example in C 
itself, but you might do it when interacting with C through an FFI. 
Both in and out of C, \0 can also be useful for padding a string to a 
specific length.


More information about the R6RS mailing list