diff options
Diffstat (limited to 'lib/ZCmpUID.c')
-rw-r--r-- | lib/ZCmpUID.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/ZCmpUID.c b/lib/ZCmpUID.c new file mode 100644 index 0000000..7482cbb --- /dev/null +++ b/lib/ZCmpUID.c @@ -0,0 +1,23 @@ +/* This file is part of the Project Athena Zephyr Notification System. + * It contains source for the ZCompareUID function. + * + * Created by: Robert French + * + * $Source$ + * $Author$ + * + * Copyright (c) 1987 by the Massachusetts Institute of Technology. + * For copying and distribution information, see the file + * "mit-copyright.h". + */ +/* $Header$ */ + +#include <zephyr/mit-copyright.h> + +#include <zephyr/zephyr.h> + +int ZCompareUID(uid1,uid2) + ZUnique_Id_t *uid1,*uid2; +{ + return (!bcmp(uid1,uid2,sizeof ZUnique_Id_t)); +} |