« Previous | Next » 

Revision 30b77304

ID30b773041c37d10649a16d5f28af00a25871aac7
Parent 16319aeb
Child e43ae633

Added by Martin Mares about 20 years ago

IP address formatting now uses the same rules as formatting of strings
with two exceptions:

o  Any non-zero field width is automatically replaced by standard
IP address width. This hides dependences on IPv4/IPv6.
o %#I generates hexadecimal form of the address.

Therefore |%I| generates unpadded format, |%1I| full size flush-right,
and |%-1I| full size flush-left format.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences