FACT++  1.0
static int check_padding ( int  curr_bytes,
int  item_size 
)
static

Definition at line 159 of file copy_swap.c.

Referenced by copy_swap_buffer_in(), and copy_swap_buffer_out().

160 {
161  int num;
162 
163  if( (num = curr_bytes % item_size))
164  {
165  num = item_size - num;
166  }
167  return num;
168 }

+ Here is the caller graph for this function: