From owner-freebsd-questions@freebsd.org Wed Jan 16 14:03:13 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 D77F91489553 for ; Wed, 16 Jan 2019 14:03:12 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 963986F07D for ; Wed, 16 Jan 2019 14:03:11 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.193.226.69]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPA (Nemesis) id 1MoOIi-1h3e4P30O0-00olOG; Wed, 16 Jan 2019 15:02:57 +0100 Date: Wed, 16 Jan 2019 15:02:56 +0100 From: Polytropon To: Arthur Chance Cc: iam@sdf.org, freebsd-questions@freebsd.org Subject: Re: libc : non-c specific functions! Message-Id: <20190116150256.ef9bba4d.freebsd@edvax.de> In-Reply-To: <635f935e-846f-39e7-c193-f952d4ecfd5b@qeng-ho.org> References: <201901160505.x0G558X1004475@sdf.org> <20190116111733.43ada98d.freebsd@edvax.de> <635f935e-846f-39e7-c193-f952d4ecfd5b@qeng-ho.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:A9wnMDIR5vpLCe332EdB6vkXOSa4WSJzYkJiav/7yw0GkA2JGyv TkC4X1ScBW7x8PVcEyakINqoOWjQLdSEyzjb+3LwKRQsUKoedRqiWPIkYt/BuGDgF7k5V5K tYBLVwIM1Nv6dSjtinu5qTiEAKup/pEfCwxunMYnC4C3fs4EaYWG4I5jFrQkQEulnOFGaY8 i/pI6VpjEqkOpa7EBRbWQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Bt5CyQpW3og=:WO/A+mWWOLsrvqAttBi3OX 7nQ5HbWSrk8hZ/N8XeamuLE34v/sGq7L2B0JyTlymMHoPOLWkIivgDPTALPktYO074JjHcw5k TKjolGs0ffPaUNlL3tmhc32clFC3qlqk/zAQJcsQSZpEoH8+9AEj67cq/Uy28/gLIWbrc++WB W7o+UQduQJ2+6NenZcJHk0fvxSvLIx3Ef1nHerdU9zEHmqzURy27fWVnHyzPOrOz7Qgpl9M8/ hnNJhuNMjJlrxsRoQ/dn9FrOEBzmDr9SxsavsmaVIEMiWgxr1/cqZNcCcs2BQLpo+xADXXKPY LAJQHDjwJdrLk9uQpbfHg2vi1TOhYFYvR+40jHeulqF1JCX3yTvUVAiQWjzrz907qXjlD9GRq 4FQGYFm3eNDXZUqY89ZgtaSE4Soq6++Q66QzU4hmnCV4PDpvnolmJxPrUNDT9ewfxFtmTqnQK 5NdD4wPc4ZfNDUjv+fnNnQbLT+mam7xub/UsAcqEW6UJ+xiJhfaJ+pvYn04oNVN70JFTqdRWG sCFAo/ySe8iuQj7eLwMMnqZR2UJTY7BcTuiBKObiwyet/scO4mZE2asylVv1psNz1fEQmKevn TP9mvy+kFB0ePIiKre3RvRnnr8ZvCHObWJJDDduoCfxKeViIIcFxyzqUQ0/At/3QgqVr40WSg +/Rd/phncIg5UbAohtXojAgR86FJgi35IHPsk2oE15q3p7ZR+iG9zJkOsp7SHefWQ94bnZLDv KI/N1i2S05TIDuNsxYCtSUnMLJGcPlrzXtWrUBamr6L2n8Kn96LRcssmxTs= X-Rspamd-Queue-Id: 963986F07D X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [4.75 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; MX_GOOD(-0.01)[cached: mx01.schlund.de]; SUBJECT_ENDS_EXCLAIM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[69.226.193.92.zen.spamhaus.org : 127.0.0.10]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.34)[0.342,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.89)[0.887,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.97)[0.965,0]; RCVD_IN_DNSWL_NONE(0.00)[131.126.227.212.list.dnswl.org : 127.0.5.0]; MID_CONTAINS_FROM(1.00)[]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.17)[ip: (0.90), ipnet: 212.227.0.0/16(-0.67), asn: 8560(0.62), country: DE(-0.01)] 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: Wed, 16 Jan 2019 14:03:13 -0000 On Wed, 16 Jan 2019 10:39:54 +0000, Arthur Chance wrote: > If you wish to "compare and contrast" you could also take a look at the > musl libc and see the differing trade-offs that makes > > Wikipedia entry: https://en.wikipedia.org/wiki/Musl > > The musl web site: https://www.musl-libc.org/ > > It even has a "See how musl compares to other major libcs" link. There is also "Diet libc", a standard C library that aims to not gather fat. ;-) https://www.fefe.de/dietlibc/ https://en.wikipedia.org/wiki/Dietlibc Key takeaways: It was developed [...] with the goal to compile and link programs to the smallest possible size. dietlibc was developed from scratch and thus only implements the most important and commonly used functions. It is mainly used in embedded devices. There are even more libc implementations, with BSD's libc and Linux's glibc being the most prominent ones: https://en.wikipedia.org/wiki/C_standard_library#Implementations -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...