Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2000 12:44:38 +0100
From:      Jonas Bulow <jonas.bulow@servicefactory.se>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        Dag-Erling Smorgrav <des@ofug.org>, Hajimu UMEMOTO <ume@mahoroba.org>, arch@FreeBSD.ORG
Subject:   Re: %a and %A formats
Message-ID:  <3A34BE26.8F2876B@servicefactory.se>
References:  <99149.976465929@critter>

next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp wrote:
> 
> In message <xzpy9xogs2h.fsf@flood.ping.uio.no>, Dag-Erling Smorgrav writes:
> >Hajimu UMEMOTO <ume@mahoroba.org> writes:
> >> I don't like this.  I've tired enough to address af dependent
> >> programming.  What character will you introduce for IPv7 or IPv8...?
> >> Furthermore, IPv6 address has scope that IPv4 doesn't have.  %a should
> >> takes struct sockaddr * for the argument instead of struct in_addr *,
> >> and should be address independent.
> >
> >Many (if not most) of the places in the kernel that need this don't
> >have a struct sockaddr available.
> 
> What we *really* need is a %{type} construct with dynmically
> loadable renderes for different types.

Something like
http://www.research.att.com/sw/tools/sfio/sfio-fmt.ps
 ?


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A34BE26.8F2876B>