38 lines
1006 B
C
38 lines
1006 B
C
/***************************************************************************
|
|
Process rename functions
|
|
-----------------------------------------
|
|
begin : 2013/06/21
|
|
copyright : (C) 2005 Solbox Inc.
|
|
author : Dev 1 Team
|
|
email : dev1@solbox.com
|
|
version : 3.2.0
|
|
|
|
CopyRight(C) 2005 Solbox Inc. All Rights reserved.
|
|
Redistribution and use in source and binary forms, with or with out
|
|
modification, are not permitted in outside of Solbox Inc.
|
|
*****************************************************************************/
|
|
|
|
#ifndef __PROCESS_RENAME_H__
|
|
#define __PROCESS_RENAME_H__
|
|
|
|
#include <unistd.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/// @brief linux의 Process Title을 변경
|
|
void set_ps_display(const char *activity, bool force);
|
|
|
|
/// @brief main에 argv의 실제 위치를 기억하고 새로은 메모리 활당하여 반환
|
|
char ** save_ps_display_args(int argc, char **argv);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
|
|
|
|
#endif // __PROCESS_RENAME_H__
|