chickadee » readline » truncate-history

(truncate-history [file] [n])procedure

Truncates provided history file to a maximum of n lines.

Returns 0 on win; errno on fail.