MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / pv_get_pid

Function pv_get_pid

pvar.c:263–269  ·  view source on GitHub ↗

/

Source from the content-addressed store, hash-verified

261
262/************************************************************/
263static int pv_get_pid(struct sip_msg *msg, pv_param_t *param,
264 pv_value_t *res)
265{
266 if(_pv_pid == 0)
267 _pv_pid = (int)getpid();
268 return pv_get_sintval(msg, param, res, _pv_pid);
269}
270
271
272extern int return_code;

Callers

nothing calls this directly

Calls 1

pv_get_sintvalFunction · 0.85

Tested by

no test coverage detected