Changeset 164 for trunk/src/sh_extern.c


Ignore:
Timestamp:
Feb 6, 2008, 10:31:00 PM (17 years ago)
Author:
katerina
Message:

Add 'closecommand' directive for external commands.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_extern.c

    r160 r164  
    10601060
    10611061  SL_RETURN (0, _("sh_ext_cleanup"));
     1062}
     1063
     1064/*
     1065 * -- explicitely close a command
     1066 */
     1067int sh_ext_close_command (const char * str)
     1068{
     1069  (void) str;
     1070  if (ext_coms == NULL || ext_failed == (-1))
     1071    return (-1);
     1072  ext_failed = (-1);
     1073  return 0;
    10621074}
    10631075
Note: See TracChangeset for help on using the changeset viewer.