/*
* Copyright 1995, 1996 Perforce Software. All rights reserved.
*
* This file is part of the Library RCS. See rcstest.c.
*/
/*
* stdhdrs.cc - standard things that ain't right
*/
# if defined( OS_MACOSX ) || defined( OS_DARWIN )
# define NEED_CHMOD
# endif
# ifdef OS_VMS62
# define NEED_FILE
# endif
# include <stdhdrs.h>
# include <strbuf.h>
# include <error.h>
# include <filesys.h>
# ifdef BAD_MEMCCPY
void *
memccpy( void *t, const void *f, int c, register size_t n)
{
if (n) {
register unsigned char *tp = (unsigned char *)t;
register const unsigned char *fp = (unsigned char *)f;
register unsigned char uc = c;
do {
if ((*tp++ = *fp++) == uc)
return (tp);
} while (--n != 0);
}
return (0);
}
#endif
# ifdef OS_VMS62
int
rmdir( const char *name )
{
return remove( name );
}
# endif
# |
Change |
User |
Description |
Committed |
|
#1
|
21443 |
dannyz_snps |
"Forking branch 2016-1 of perforce_software-p4 to dannyz_snps-p4." |
|
|
//guest/perforce_software/p4/2016-1/sys/stdhdrs.cc |
#1
|
19472 |
Liz Lam |
Initial add of the 2016.1 p4/p4api source code. |
|
|