diff options
author | Robert S. French <rfrench@mit.edu> | 1987-06-12 20:55:25 +0000 |
---|---|---|
committer | Robert S. French <rfrench@mit.edu> | 1987-06-12 20:55:25 +0000 |
commit | dbe679b3e7adbc2060fb93cd0add528ef631f08c (patch) | |
tree | 9136ba7f725d6d6f5ce47a8dc70113969835eb09 /lib/ZCmpUID.c | |
parent | e06e5a22ea9120055c6c1fa391201a6fda53a6c5 (diff) |
Initial revision
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)); +} |