在哪里查找含义 "adb screencap" 命令的退出代码或如何以编程方式获取含义?

Where to lookup for the meaning "adb screencap" command's exit codes or how to get the meaning programatically?

        Process p = Runtime.getRuntime().exec("screencap -p /storage/sdcard0/test3332.png");
        p.waitFor();
        String error = "error: " +  p.exitValue();

p.exitValue() 等于 11

如何从此退出代码中获取“含义”或消息?

如果命令手册中应该可以找到该手册,那么在哪里可以找到该手册?有人可以 post link 或推荐信吗?

错误信息可以这样取回:

int ch;
StringBuilder sb = new StringBuilder();
while((ch = p.getErrorStream().read()) != -1) {
    sb.append((char)ch);
}
String errorString = sb.toString();
Log.d("TAG", "Error is: " + errorString);