adding zephyr-im master branch
This commit is contained in:
24
lib/ZCmpUID.c
Normal file
24
lib/ZCmpUID.c
Normal file
@ -0,0 +1,24 @@
|
||||
/* This file is part of the Project Athena Zephyr Notification System.
|
||||
* It contains source for the ZCompareUID function.
|
||||
*
|
||||
* Created by: Robert French
|
||||
*
|
||||
* $Id$
|
||||
*
|
||||
* Copyright (c) 1987 by the Massachusetts Institute of Technology.
|
||||
* For copying and distribution information, see the file
|
||||
* "mit-copyright.h".
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
static const char rcsid_ZCompareUID_c[] = "$Id$";
|
||||
#endif
|
||||
|
||||
#include <internal.h>
|
||||
|
||||
int
|
||||
ZCompareUID(ZUnique_Id_t *uid1,
|
||||
ZUnique_Id_t *uid2)
|
||||
{
|
||||
return (!memcmp((char *)uid1, (char *)uid2, sizeof (*uid1)));
|
||||
}
|
Reference in New Issue
Block a user