~ubuntu-branches/ubuntu/wily/trafficserver/wily

« back to all changes in this revision

Viewing changes to lib/ts/ink_killall.h

  • Committer: Package Import Robot
  • Author(s): Adam Conrad
  • Date: 2012-12-17 22:28:16 UTC
  • mfrom: (5.1.8 raring-proposed)
  • Revision ID: package-import@ubuntu.com-20121217222816-7xwjsx5k76zkb63d
Tags: 3.2.0-1ubuntu1
* Revert FreeBSD strerror_r() fixes that give errors with glibc 2.16.
* Apply patch from Konstantinos Margaritis to define barriers on ARM.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
 
43
43
/*-------------------------------------------------------------------------
44
44
   ink_killall_get_pidv_xmalloc
45
 
   - Get all pid's named 'pname' and stores into xmalloc'd
 
45
   - Get all pid's named 'pname' and stores into ats_malloc'd
46
46
     pid_t array, 'pidv'
47
47
   - Returns: -1 error (pidv: set to NULL; pidvcnt: set to 0)
48
 
               0 okay (pidv: xmalloc'd pid vector; pidvcnt: number of pid's;
 
48
               0 okay (pidv: ats_malloc'd pid vector; pidvcnt: number of pid's;
49
49
                       if pidvcnt is set to 0, then pidv will be set to NULL)
50
50
  -------------------------------------------------------------------------*/
51
51
int ink_killall_get_pidv_xmalloc(const char *pname, pid_t ** pidv, int *pidvcnt);