From owner-freebsd-questions@freebsd.org Tue May 28 17:56:59 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 39C2815A7043 for ; Tue, 28 May 2019 17:56:59 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 6A92C8AC40 for ; Tue, 28 May 2019 17:56:58 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from lowell-desk.be-well.ilk.org (router.lan [172.30.250.2]) by be-well.ilk.org (Postfix) with ESMTP id BDAC433C58; Tue, 28 May 2019 13:50:40 -0400 (EDT) Received: by lowell-desk.be-well.ilk.org (Postfix, from userid 1147) id B4A36187EE8; Tue, 28 May 2019 13:50:39 -0400 (EDT) From: Lowell Gilbert To: Mayuresh Kathe Cc: freebsd-questions@freebsd.org Subject: Re: kernel and most of userland : c : which edition? References: <58c53e2e6bc1942004bc9f7fac7d6f80@kathe.in> Reply-To: freebsd-questions@freebsd.org Date: Tue, 28 May 2019 13:50:39 -0400 In-Reply-To: <58c53e2e6bc1942004bc9f7fac7d6f80@kathe.in> (Mayuresh Kathe's message of "Tue, 28 May 2019 15:18:47 +0530") Message-ID: <44sgsy8o40.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 6A92C8AC40 X-Spamd-Bar: +++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [3.04 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_MEDIUM(-0.44)[-0.437,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.51)[0.509,0]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[ilk.org]; AUTH_NA(1.00)[]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: be-well.ilk.org]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.93)[0.935,0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:7922, ipnet:23.30.0.0/15, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.04)[ip: (0.09), ipnet: 23.30.0.0/15(0.07), asn: 7922(0.10), country: US(-0.06)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2019 17:56:59 -0000 Mayuresh Kathe writes: > which edition of c is-being/has-been used to write the majority of the > kernel and userland? > illumos people are mandating c99 for all new code and have heard about > them taking the efforts to migrate old code to c99 too. > is there any such movement in coding standards happening in > freebsd-land too? See "man 7 style" but the basic gist is that c99 is expected for new code and that updating older code to c99 is typical practice when changing that code for other reasons.