next up previous contents index
Next: kill_current_buffer Up: Buffers and files Previous: write_file

insert_file

   int insert_file(char * filename)

Inserts the contents of the file associated to filename at the current position. Current position stays unchanged (it is the beginning of the inserted file). Returns 1 on success, otherwise 0 (if Smac cannot read filename).



Lionel Fournigault
Mon Dec 15 10:53:26 MET 1997