⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 shellcommand.nc

📁 tinyos-2.x.rar
💻 NC
字号:

interface ShellCommand {

  /*
   * evaluate the command that this command provides
   * @argc the number of arguments
   * @argv the arguments
   * @return a string to send back as the reply to the shell client.
   *         if NULL, nothing is sent.
   */
  event char *eval(int argc, char **argv);

  /*
   * request a buffer.  The result of this command may be returned
   * from 'eval', but otherwise the buffer may not be used outside of
   * the context it is called from.
   */
  command char *getBuffer(uint16_t len);

  /*
   * write a string to the shell buffer; if no client is connected it
   * will fail silently
   */
  command void write(char *str, int len);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -