summaryrefslogtreecommitdiff
path: root/proc.h
blob: 9220b2ad863a2942cc9c61ff4541b45e4c31f5ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef PROC_H
#define PROC_H

#include <stdlib.h>

extern void cpu_affinity(int cpu);
extern int set_proc_prio(int prio);
extern int set_sched_status(int policy, int priority);
extern ssize_t proc_get_cmdline(unsigned int pid, char *cmdline, size_t len);
extern int proc_exec(const char *proc, char *const argv[]);

#endif /* PROC_H */
t>
authorMax Kellermann <max@duempel.org>2016-03-18 18:31:35 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-05-07 10:56:55 -0300
commitacc37e8f86a8f2a3e1d1dc97d99b7625ccc95424 (patch)
treec1bf41e1268d76475c97796abb7a076b9ec343d3
parent5f61ff86116cf637ae926f44c1857716ec89e9fb (diff)
[media] media/dvb-core: forward media_create_pad_links() return value
Instead of always return -ENOMEM, return the real error that should come from media_create_pad_link(). Signed-off-by: Max Kellermann <max@duempel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat