home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 3 / 3650 / axatchar.c next >
Encoding:
C/C++ Source or Header  |  1991-07-17  |  300 b   |  21 lines

  1. /* ax_at_char.c 
  2.    part of the shop package */
  3.  
  4. #if PWD_SUPPORTED
  5. static char rcsid[] = "$What: <@(#) axatchar.c,v    2.1> $";
  6.  
  7. #include <string.h>
  8.  
  9. char *ax_at_char(buff)
  10. char *buff;
  11. {
  12.     char *s, *strpbrk();
  13.  
  14.     if ((s = strpbrk(buff,GECOS_DELIMITERS)) != NULL) {
  15.         *s = '\0';
  16.     }
  17.     return buff;
  18. }
  19. #endif
  20.  
  21.