e2fsprogs/lib/uuid/copy.c

22 lines
363 B
C
Raw Normal View History

1997-04-29 18:53:37 +04:00
/*
* copy.c --- copy UUIDs
1997-04-29 20:17:09 +04:00
*
* Copyright (C) 1996, 1997 Theodore Ts'o.
*
* %Begin-Header%
* This file may be redistributed under the terms of the GNU Public
* License.
* %End-Header%
1997-04-29 18:53:37 +04:00
*/
#include "uuidP.h"
void uuid_copy(uuid_t uu1, uuid_t uu2)
{
unsigned char *cp1, *cp2;
int i;
for (i=0, cp1 = uu1, cp2 = uu2; i < 16; i++)
*cp1++ = *cp2++;
}