chickadee » readline » write-history

write-history #!optional fileprocedure

Writes the history buffer to file or ~/.history when no file is provided.

Returns 0 on success; errno on fail.

USE AT YOUR OWN RISK!

Using this may clobber simultaneous sessions.