Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2003 10:31:31 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Atifa Kheel <atifa_kheel@yahoo.com>
Cc:        freebsd-questions@FreeBSD.ORG, debian-bsd@lists.debian.org
Subject:   Re: glibc vs BSD libc
Message-ID:  <20030120163130.GG49032@dan.emsphone.com>
In-Reply-To: <20030120130538.74079.qmail@web12606.mail.yahoo.com>
References:  <20030120130538.74079.qmail@web12606.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jan 20), Atifa Kheel said:
> e)Other Streams(like string streams,Obstack streams,etc)
> glibc: Supported
> BSD libc: Not Supported.

BSD supports funopen() which allows the user to create handles for
arbitrary stream types.

http://www.freebsd.org/cgi/man.cgi?query=funopen

> Shell Style word expansion
> (Eg:wordexp,wordfree)
> glibc: Supported
> BSD libc: Not Supported.

wordexp/wordfree are in 5.0, so they will probably be backported to 4.*
at some point.

> 23.
> System database and name service switch(NSS)
> glibc: Supported
> BSD libc: NSS not supported.Incompatible shadow and password support  and ancient utmp.
> (Problem Solved by writing a library libshadow)

User applications should not need to know about FreeBSD's shadow
password style, so that shouldn't really matter.
 
> 25.
> System Information
> glibc: Supported
> BSD libc: utsname() not Supported.

uname() is the correct function name (the data is returned in a struct
utsname), and BSD supports it.
 
> 27.
> Large file support
> (fseeko64,ftello64)
> glibc: Supported
> BSD libc: Not Supported.

BSD has supported large files far longer than Linux has.  fseeko and
ftello are the functions you should use.  fseeko64 is sort of redundant :)

-- 
	Dan Nelson
	dnelson@allantgroup.com

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




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