IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 8189


Ignore:
Timestamp:
Aug 5, 2006, 3:52:15 AM (20 years ago)
Author:
eugene
Message:

added strpop function

Location:
trunk/Ohana/src/opihi/cmd.basic
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.basic/Makefile

    r5943 r8189  
    4747$(SDIR)/strlen.$(ARCH).o     \
    4848$(SDIR)/substr.$(ARCH).o     \
     49$(SDIR)/strpop.$(ARCH).o     \
    4950$(SDIR)/usleep.$(ARCH).o     \
    5051$(SDIR)/sleep.$(ARCH).o      \
  • trunk/Ohana/src/opihi/cmd.basic/init.c

    r7892 r8189  
    3131int strlen_func     PROTO((int, char **));
    3232int substr_func     PROTO((int, char **));
     33int strpop          PROTO((int, char **));
    3334int wait_func       PROTO((int, char **));
    3435int which           PROTO((int, char **));
     
    6869  {"strlen",        strlen_func,        "string length"},
    6970  {"substr",        substr_func,        "substring"},
     71  {"strpop",        strpop,             "pop a string"},
    7072  {"wait",          wait_func,          "wait until return is typed"},
    7173  {"which",         which,              "show command *"}
Note: See TracChangeset for help on using the changeset viewer.