From owner-freebsd-questions@freebsd.org Sun Apr 28 03:37:31 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 1FFE6156FE69 for ; Sun, 28 Apr 2019 03:37:31 +0000 (UTC) (envelope-from mayuresh@sdf.org) Received: from mx.sdf.org (mx.sdf.org [205.166.94.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx.sdf.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D9EC181ACB for ; Sun, 28 Apr 2019 03:37:29 +0000 (UTC) (envelope-from mayuresh@sdf.org) Received: from sdf.org (IDENT:mayuresh@sdf.lonestar.org [205.166.94.16]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id x3S3bSRG001572 (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits) verified NO) for ; Sun, 28 Apr 2019 03:37:28 GMT Received: (from mayuresh@localhost) by sdf.org (8.15.2/8.12.8/Submit) id x3S3bR25017504 for freebsd-questions@freebsd.org; Sun, 28 Apr 2019 03:37:27 GMT Date: Sun, 28 Apr 2019 03:37:27 GMT From: Mayuresh Kathe Message-Id: <201904280337.x3S3bR25017504@sdf.org> To: freebsd-questions@freebsd.org Subject: system calls in a library X-Rspamd-Queue-Id: D9EC181ACB X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.41 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.89)[-0.887,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.991,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; MX_GOOD(-0.01)[cached: mx.sdf.org]; NEURAL_HAM_SHORT(-0.85)[-0.848,0]; DMARC_NA(0.00)[sdf.org]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14361, ipnet:205.166.94.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-0.57)[ip: (-1.83), ipnet: 205.166.94.0/24(-0.91), asn: 14361(-0.05), 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: Sun, 28 Apr 2019 03:37:31 -0000 from previous discussions on this list, i know that the system interfaces exposed by the freebsd kernel are also included and exposed via libc, in addition to the standard c library functions. did i get that right? if yes, is it possible to expose those kernel system interfaces via a c++ library? but one which is devoid of c++ library functions? which in the case of freebsd is included in something like libstdcpp? please correct me if and where i am wrong. thanks.