Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
STRUNCSTR(3)		     C Programmer's Manual		  STRUNCSTR(3)

NAME
       struncstr - convert printable C string notation to a memory block

SYNOPSIS
       #include	<publib.h>
       void struncstr(void *block, const char *str, size_t max);

DESCRIPTION
       struncstr  converts a C string literal to the memory block it describes
       by converting all escape	sequences to single characters.	 See a C  ref-
       erence  manual  or strcstr(3) for a description of the C	string literal
       notation.

       max is the maximum number of characters to store	into the memory	block.

SEE ALSO
       publib(3), strcstr(3)

AUTHOR
       Lars Wirzenius (lars.wirzenius@helsinki.fi)

Publib			     C Programmer's Manual		  STRUNCSTR(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=struncstr&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help