Add new function updwtmp which allows to write a complete record to