ArchWizard

DGD/

source navigation ]
diff markup ]
identifier search ]
file search ]
Version: [ 1.0.a0 ] [ 1.1 ] [ 1.2 ] [ 1.2p1 ] [ 1.2p2 ] [ 1.2p3 ] [ 1.2p4 ] [ 1.2.151 ]

  1 NAME
  2         write_file - write to a file
  3 
  4 SYNOPSIS
  5         int write_file(string file, string str, varargs int offset)
  6 
  7 
  8 DESCRIPTION
  9         Write a string to a file.  If the optional third argument is
 10         specified and non-zero, write the string at the given offset in
 11         the file; otherwise, append to the file.  The offset may be
 12         negative to offset backwards from the end of the file.
 13         To write a string to the beginning of a file, let the offset be
 14         equal to minus the length of the file.
 15         The return value is 1 for success, 0 for failure.
 16 
 17 SEE ALSO
 18         kfun/editor, kfun/read_file

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.