Where should *a_pos refer to in an error case. In these examples, █ means the null terminator ('\0'). "abc█ ↑ -█ ↑ - █ ↑ "abc«\n» d" ↑ "abc"de" └───┘