Welcome to docu’s documentation!

Indices and tables

Indices and tables

Indices and tables

Indices and tables

Indices and tables

int op_and(int x, int y)

Recovers ‘B’ and ‘asize’ to ‘B_chk’ and ‘asize_chk’ from file, using POSIX fread.

The “libary” begins here

Before recovering B, the function checks if ‘asize_chk’ equals ‘asize’, to prevent SIGSEGV. If not ‘asize_chk’ = ‘asize’ it returns -1.

Parameters
  • x: first operand

  • y: second operand