GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
DEVCTL_SAFE_QUOTE_SB(9) FreeBSD Kernel Developer's Manual DEVCTL_SAFE_QUOTE_SB(9)

devctl_safe_quote_sb
Insert a string, properly quoted, into a sbuf

#include <sys/devctl.h>
#include <sys/sbuf.h>

void
devctl_safe_quote_sb(struct sbuf *sb, const char *src);

Copy the string from src into sb. All backslash characters are doubled. All double quote characters ‘"’ are also preceded by a backslash. All other characters are copied without modification. The devctl(4) protocol requires quoted string to be quoted thus. This routine centralizes this knowledge.

devd(8)

This manual page was written by M. Warner Losh
September 22, 2020 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 9 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.