/************************************************* -*- mode: C -*- * $Header: /u/gcmpack/MITgcm/pkg/mnc/mnc_cw_fsize.c,v 1.1 2004/10/21 15:40:38 edhill Exp $ * $Name: $ */ /* Here, we get the definition of the FC_NAMEMANGLE() macro. */ #include "FC_NAMEMANGLE.h" #include #include #include #include #include void FC_NAMEMANGLE(mncfsize) ( int *nienc, int *ienc, int *nbyte ) { char name[512]; struct stat astat; int i, j, n; char * cenc = {"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_.,+-=/~\0"}; int ncenc = 70; n = ((*nienc) > 200) ? 200 : (*nienc); for (i=0; i