Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jul 2001 17:29:20 -0700 (PDT)
From:      Matt Dillon <dillon@earth.backplane.com>
To:        Alfred Perlstein <bright@sneakerz.org>
Cc:        Dima Dorfman <dima@unixfreak.org>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sbin/mountd mountd.c
Message-ID:  <200107030029.f630TK825496@earth.backplane.com>
References:  <20010702185739.X84523@sneakerz.org> <20010703000646.13F1A3E28@bazooka.unixfreak.org> <20010702191342.Y84523@sneakerz.org>

next in thread | previous in thread | raw e-mail | index | archive | help

:#include <stdio.h>
:
:int main()
:{
:
:        printf("foo\
:bar\n");
:        return 1;
:}
:
:It doesn't matter much, but I wanted to see if you realized that.
:
:-- 
:-Alfred Perlstein [alfred@freebsd.org]

ANSI string concatenation:

int 
main()
{
	puts(
	    "This is line1\n"
	    "This is line2\n"
	    "This is line3\n"
	    "This "
	    "is "
	    "line4\n"
	);
	return 1;
}

For strings.  Nobody in his right mind tries to break a word
(or a string these days) in the middle with backslash+NL.

					    -Matt


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107030029.f630TK825496>