foundation2_fluffos_v1/
foundation2_fluffos_v1/bin/
foundation2_fluffos_v1/fluffos-2.9-ds2.13/
foundation2_fluffos_v1/fluffos-2.9-ds2.13/ChangeLog.old/
foundation2_fluffos_v1/fluffos-2.9-ds2.13/Win32/
foundation2_fluffos_v1/fluffos-2.9-ds2.13/compat/
foundation2_fluffos_v1/fluffos-2.9-ds2.13/compat/simuls/
foundation2_fluffos_v1/fluffos-2.9-ds2.13/include/
foundation2_fluffos_v1/fluffos-2.9-ds2.13/testsuite/
foundation2_fluffos_v1/fluffos-2.9-ds2.13/testsuite/clone/
foundation2_fluffos_v1/fluffos-2.9-ds2.13/testsuite/command/
foundation2_fluffos_v1/fluffos-2.9-ds2.13/testsuite/data/
foundation2_fluffos_v1/fluffos-2.9-ds2.13/testsuite/etc/
foundation2_fluffos_v1/fluffos-2.9-ds2.13/testsuite/include/
foundation2_fluffos_v1/fluffos-2.9-ds2.13/testsuite/inherit/
foundation2_fluffos_v1/fluffos-2.9-ds2.13/testsuite/inherit/master/
foundation2_fluffos_v1/fluffos-2.9-ds2.13/testsuite/log/
foundation2_fluffos_v1/fluffos-2.9-ds2.13/testsuite/single/
foundation2_fluffos_v1/fluffos-2.9-ds2.13/testsuite/single/tests/compiler/
foundation2_fluffos_v1/fluffos-2.9-ds2.13/testsuite/single/tests/efuns/
foundation2_fluffos_v1/fluffos-2.9-ds2.13/testsuite/single/tests/operators/
foundation2_fluffos_v1/fluffos-2.9-ds2.13/testsuite/u/
foundation2_fluffos_v1/fluffos-2.9-ds2.13/tmp/
foundation2_fluffos_v1/fluffos-2.9-ds2.13/windows/
foundation2_fluffos_v1/lib/cfg/
foundation2_fluffos_v1/lib/cmds/adm/
foundation2_fluffos_v1/lib/daemon/save/
foundation2_fluffos_v1/lib/daemon/services/
foundation2_fluffos_v1/lib/daemon/soul/
foundation2_fluffos_v1/lib/doc/build/
foundation2_fluffos_v1/lib/doc/classes/
foundation2_fluffos_v1/lib/doc/driver/
foundation2_fluffos_v1/lib/doc/driver/applies/
foundation2_fluffos_v1/lib/doc/driver/applies/interactive/
foundation2_fluffos_v1/lib/doc/driver/concepts/
foundation2_fluffos_v1/lib/doc/driver/driver/
foundation2_fluffos_v1/lib/doc/driver/efuns/arrays/
foundation2_fluffos_v1/lib/doc/driver/efuns/buffers/
foundation2_fluffos_v1/lib/doc/driver/efuns/calls/
foundation2_fluffos_v1/lib/doc/driver/efuns/compile/
foundation2_fluffos_v1/lib/doc/driver/efuns/filesystem/
foundation2_fluffos_v1/lib/doc/driver/efuns/floats/
foundation2_fluffos_v1/lib/doc/driver/efuns/functions/
foundation2_fluffos_v1/lib/doc/driver/efuns/general/
foundation2_fluffos_v1/lib/doc/driver/efuns/mappings/
foundation2_fluffos_v1/lib/doc/driver/efuns/numbers/
foundation2_fluffos_v1/lib/doc/driver/efuns/parsing/
foundation2_fluffos_v1/lib/doc/driver/lpc/constructs/
foundation2_fluffos_v1/lib/doc/driver/lpc/types/
foundation2_fluffos_v1/lib/doc/driver/platforms/
foundation2_fluffos_v1/lib/doc/efun/
foundation2_fluffos_v1/lib/doc/etc/
foundation2_fluffos_v1/lib/doc/faq/
foundation2_fluffos_v1/lib/doc/help/creator/
foundation2_fluffos_v1/lib/doc/help/player/
foundation2_fluffos_v1/lib/doc/lpc/basic/
foundation2_fluffos_v1/lib/doc/lpc/data_types/
foundation2_fluffos_v1/lib/doc/lpc/etc/
foundation2_fluffos_v1/lib/doc/lpc/intermediate/
foundation2_fluffos_v1/lib/doc/lpc/types/
foundation2_fluffos_v1/lib/doc/mudlib/
foundation2_fluffos_v1/lib/doc/mudlib/Features/
foundation2_fluffos_v1/lib/domains/Examples/armour/
foundation2_fluffos_v1/lib/domains/Examples/etc/
foundation2_fluffos_v1/lib/domains/Examples/npc/
foundation2_fluffos_v1/lib/domains/Examples/room/
foundation2_fluffos_v1/lib/domains/Examples/virtual/
foundation2_fluffos_v1/lib/domains/Examples/virtual/exaA/
foundation2_fluffos_v1/lib/domains/Examples/virtual/exaB/
foundation2_fluffos_v1/lib/domains/Examples/weapon/
foundation2_fluffos_v1/lib/domains/School/doc/
foundation2_fluffos_v1/lib/domains/School/room/
foundation2_fluffos_v1/lib/domains/School/room/Classes/
foundation2_fluffos_v1/lib/domains/School/room/Offices/
foundation2_fluffos_v1/lib/domains/Standard/
foundation2_fluffos_v1/lib/domains/Standard/pools/
foundation2_fluffos_v1/lib/domains/Standard/std/
foundation2_fluffos_v1/lib/domains/Standard/xtra/
foundation2_fluffos_v1/lib/include/
foundation2_fluffos_v1/lib/lib/obj/
foundation2_fluffos_v1/lib/news/
foundation2_fluffos_v1/lib/save/
foundation2_fluffos_v1/lib/secure/cfg/
foundation2_fluffos_v1/lib/secure/cmds/player/
foundation2_fluffos_v1/lib/secure/lib/
foundation2_fluffos_v1/old/
foundation2_fluffos_v1/win32/
printf(3)             LPC Library Functions             printf(3)

NAME
     printf, sprintf - formatted output conversion

SYNOPSIS
     void printf( string format, ... );
     string sprintf( string format, ... );

DESCRIPTION
     An implementation of (s)printf() for LPC, with quite  a  few
     extensions Implemented by Lynscar (Sean A Reith).

     This version supports the following as modifiers:

     " "     pad positive integers with a space.

     "+"     pad positive integers with a plus sign.

     "-"     left adjusted within field size.
             NB: std (s)printf() defaults to right justification,
             which is unnatural in the context of a mainly string
             based language but has been retained  for  "compata-
             bility".

     "|"     centered within field size.

     "="     column mode if strings are greater than field  size.
             This  is  only  meaningful  with  strings, all other
             types ignore this. Columns are  auto-magically  word
             wrapped.

     "#"     table mode, print a list of '\n'  separated  'words'
             in  a  table within the field size.  only meaningful
             with strings.

     n       specifies the field size, a '*' specifies to use the
             corresponding  arg  as  the  field  size.   If  n is
             prepended with a zero, then is padded zeros, else it
             is padded with spaces (or specified pad string).

     "."n    precision of n, simple strings truncate  after  this
             (if precision is greater than field size, then field
             size = precision), tables use precision  to  specify
             the  number  of  columns (if precision not specified
             then tables calculate a best fit), all  other  types
             ignore this.

     ":"n    n specifies the fs _and_  the  precision,  if  n  is
             prepended  by  a  zero  then it is padded with zeros
             instead of spaces.

MudOS                Last change: 5 Sep 1994                    1

printf(3)             LPC Library Functions             printf(3)

     "@"     the  argument  is  an  array.    the   corresponding
             format_info  (minus the "@") is applyed to each ele-
             ment of the array.

     "'X'"   The char(s) between the single-quotes  are  used  to
             pad  to  field  size  (defaults to space) (if both a
             zero (in front of field size) and a pad  string  are
             specified,  the  one  specified  second  overrules).
             NOTE:  to include "'" in the pad  string,  you  must
             use  "\'"  (as  the backslash has to be escaped past
             the interpreter), similarly, to include "

     The following are the possible type specifiers.

     %       in which case no arguments are  interpreted,  and  a
             "%" is inserted, and all modifiers are ignored.

     O       the argument is an LPC datatype.

     s       the argument is a string.

     d, i    the integer arg is printed in decimal.

     c       the integer arg is to be printed as a character.

     o       the integer arg is printed in octal.

     x       the integer arg is printed in hex.

     X       the integer arg is printed in hex (with A-F in capi-
             tals).

     f       floating point number

RETURN VALUES
     sprintf() returns the formatted string.

AUTHOR
     Sean A. Reith (Lynscar)

SEE ALSO
     sscanf(3)

MudOS                Last change: 5 Sep 1994                    2