swap.c

sima/swap.c · 183 B

From the archive 970706-sima.tgz

Download the archive   « Back to the archive contents

#include "common.h"

static char file_name[100] = "";

void name_swap_file(char* name) {
    strncpy(file_name, name, sizeof file_name);
    file_name[sizeof file_name - 1] = '\0';
}

Site Stats

Snippets: 1791
Codebases: 571