[PATCH] Add fseek to ui-file

Tom Tromey tromey@redhat.com
Fri Dec 14 19:18:00 GMT 2012


>>>>> "Hui" == Hui Zhu <teawater@gmail.com> writes:

Hui> +static int
Hui> +null_file_fseek (struct ui_file *stream, long offset, int whence)
Hui> +{
Hui> +  return -1;
Hui> +}

It seems like this should set errno as well.

Tom



More information about the Gdb-patches mailing list