next up previous contents
Next: myjuke.c Up: Appendix B: An Previous: domt.c

juke_check.c

/****************************************************************
*        function juke_check.c                                  *
*                                                               *
*        modified        by    reason                           *
*        --------        --    ------                           *
*        29-Jan-93       cbl   orignal, jukebox error reporting.*
*                                                               *
****************************************************************/
#include <sys/types.h>
#include <stdio.h>
#include <rpc/rpc.h>
#include "jukeclnt.h"

int 
juke_check(long int status)
{
        if(FAILED(status)) {
          err_print(status);
          return(-1);
        }
        return(0);
}


Marc Mengel
Wed May 29 11:09:46 CDT 1996