Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 8633 → Rev 8634

/programs/system/shell/modules/module_program_console.c
76,7 → 76,7
*buffer = SC_OK;
break;
case SC_GET_PID:
case SC_PID:
buf1k=malloc(1024);
kol_process_info(-1, buf1k);
memcpy(buffer+1, buf1k+30, sizeof(unsigned));
84,6 → 84,10
free(buf1k);
break;
case SC_PING:
*buffer = SC_OK;
break;
default:
#if LANG_ENG
printf (" Error in console application.\n\r");
/programs/system/shell/program_console.h
6,4 → 6,5
#define SC_GETC 4
#define SC_GETS 5
#define SC_CLS 6
#define SC_GET_PID 7
#define SC_PID 7
#define SC_PING 8