if ( rc | shell_exit_flag ) { The bitwise OR saves a few bytes compared to logical OR but looks odd. On my system I can get the same size using: while ( ! shell_exit_flag && offset < image->len ) { Stefan