MCPcopy Create free account
hub / github.com/Singular/Singular / mystrcpy

Function mystrcpy

resources/feResource.cc:636–646  ·  view source on GitHub ↗

strcpy where source and destination may overlap

Source from the content-addressed store, hash-verified

634
635// strcpy where source and destination may overlap
636static void mystrcpy(char* d, char* s)
637{
638 /*assume(d != NULL && s != NULL);*/
639 while (*s != '\0')
640 {
641 *d = *s;
642 d++;
643 s++;
644 }
645 *d = '\0';
646}
647
648/*****************************************************************
649 *

Callers 2

feCleanUpFileFunction · 0.85
feCleanUpPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected