src/shtype.c

00001 
00006 /*
00007  *  PROGRAM NAME:  sh
00008  *
00009  *  (c) COPYRIGHT INTERNATIONAL BUSINESS MACHINES
00010  *  CORPORATION 12/1/2001.  ALL RIGHTS RESERVED.
00011  *
00012  *  Please refer to the LICENSE file in the top directory
00013  *
00014  *      author: Mike Henderson mhender@watson.ibm.com
00015  */
00016 
00017 static char *id="@(#) $Id: shtype.c,v 1.2 2006/08/17 19:28:17 mhender Exp $";
00018 
00021 extern char *shOutputName;
00022 
00025 #include <shInternal.h>
00026 #include <string.h>
00027 #include <stdlib.h>
00028 
00035 void shSetOutputFormat(char *type)
00036  {
00037   shOutputFormat=(char*)realloc(shOutputFormat,(strlen(type)+1)*sizeof(char));
00038   strcpy(shOutputFormat,type);
00039 
00040   return;
00041  }

Generated on Thu Aug 17 15:29:43 2006 for sh by  doxygen 1.4.6