patch is as specified in POSIX 1003.1-2001 (ISO/IEC 9945-2003), but with extensions as listed below.
reads and write all files in binary mode, except for standard output and /dev/tty. This option has no effect on POSIX-compliant systems.
interprets the patch file as a unified context diff.