if (wr_ptr >= rd_ptr) size = SIZE - (wr_ptr - rd_ptr); else size = rd_ptr -wr_ptr);
E-mail: info@telesys.ru