7 #define LOG_PATH "/tmp/dmlaunch.err"
9 static void elog(const char *fmt, ...)
14 fp = fopen(LOG_PATH, "w+");
19 vfprintf(fp, fmt, ap);
26 int main(int argc, char *argv[])
30 elog("release agent : [%d:%s]\n", argc, argv[1]);
33 elog("usage) %s path\n", argv[0]);
37 ret = __app_send_raw(AUL_UTIL_PID, APP_RELEASED, (unsigned char*)argv[1], strlen(argv[1]));
39 elog("release agent : %d\n", ret);