Two tutorial programs are provided to show how to write and implement an error reporting function and how to write modules that will use the error reporting function. These programs are err_vcs.c and err_user.c. err_vcs.c defines five functions with the necessary hooks into the VCS error reporting system. err_user.c writes and installs an error reporting function.