forked from enlightenment/efl
add wrapper around GetCurrentProcessId()
SVN revision: 34536
This commit is contained in:
parent
638afceae2
commit
d72b07f4aa
|
@ -1,3 +1,9 @@
|
|||
2008-05-11 Vincent Torri <doursse at users dot sf dot net>
|
||||
|
||||
* src/lib/Evil.h:
|
||||
* src/lib/evil.c (getpid):
|
||||
add wrapper around GetCurrentProcessId()
|
||||
|
||||
2008-05-10 Vincent Torri <doursse at users dot sf dot net>
|
||||
|
||||
* src/lib/dlfcn/dlfcn.c: (dladdr):
|
||||
|
|
|
@ -200,6 +200,24 @@ EAPI int fcntl(int fd, int cmd, ...);
|
|||
*/
|
||||
EAPI int mkstemp(char *template);
|
||||
|
||||
/**
|
||||
* @brief Return the process identifier of the calling process.
|
||||
*
|
||||
* @return The process ID.
|
||||
*
|
||||
* Return the process identifier of the calling process. Until
|
||||
* the process terminates, the process identifier uniquely
|
||||
* identifies the process throughout the system.
|
||||
*
|
||||
* Conformity: Not appliclable.
|
||||
*
|
||||
* Supported OS: Windows 98, Windows Me, Windows NT, Windows 2000,
|
||||
* Windows XP.
|
||||
*
|
||||
* @ingroup Evil
|
||||
*/
|
||||
EAPI pid_t getpid(void);
|
||||
|
||||
/**
|
||||
* @brief Create a shell link.
|
||||
*
|
||||
|
|
|
@ -118,6 +118,12 @@ mkstemp(char *template)
|
|||
return fd;
|
||||
}
|
||||
|
||||
pid_t
|
||||
getpid(void)
|
||||
{
|
||||
return (pid_t)GetCurrentProcessId();
|
||||
}
|
||||
|
||||
/* REMARK: Windows has no symbolic link. */
|
||||
/* Nevertheless, it can create and read .lnk files */
|
||||
int
|
||||
|
|
Loading…
Reference in New Issue