Callback mechanism, PIN entry (one at a time), SUN_LEN generalisation for *BSD