代码搜索结果
找到约 10,000 项符合
PID 的代码
lock_test.c
/* include lock_test */
#include "unpipc.h"
pid_t
lock_test(int fd, int type, off_t offset, int whence, off_t len)
{
struct flock lock;
lock.l_type = type; /* F_RDLCK or F_WRLCK */
lock.l_start
lockmainubuf.c
#include "unpipc.h"
#define SEQFILE "seqno" /* filename */
void my_lock(int), my_unlock(int);
int
main(int argc, char **argv)
{
int fd, i, seqno, c;
pid_t pid;
ssize_t n;
char line[MAXLINE +
lockmain.c
#include "unpipc.h"
#define SEQFILE "seqno" /* filename */
void my_lock(int), my_unlock(int);
int
main(int argc, char **argv)
{
int fd;
long i, seqno;
pid_t pid;
ssize_t n;
char line[MAXLINE
sigchld.c
#include "calld.h"
#include
/* SIGCHLD handler, invoked when a child terminates. */
void
sig_chld(int signo)
{
int stat, errno_save;
pid_t pid;
errno_save = errno; /* l
getset.c
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
src/mm/getset.c
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1
p_msg.h
#ifndef _MSG_H_
#define _MSG_H_
bool_t p_passprio(pid_t pid, bool_t enable);
/* this is for message process */
/* return: FALSE then error, error infomation is in errno */
bool_t p_send(pid_t
csmcodec.h
#ifndef _SMSCODEC_H_
#define _SMSCODEC_H_
#include "dxApi.h"
#include "Couse_typ.h"
//////-----------------------------------------------------------------------
#define GSM_CHARACTER_SET_SIZ
pgrp.cc
#include
#include
#include
#include
#include
#include
#include "pgrp.h"
static Q(,session_t) allsessionq;
typedef Q
kannel-devel.init
#!/bin/sh
# Start/stop the Kannel boxes: One bearer box and one WAP box.
# This is the default init.d script for Kannel. Its configuration is
# appropriate for a small site running Kannel on one mac
kannel.init
#!/bin/sh
# Start/stop the Kannel boxes: One bearer box and one WAP box.
# This is the default init.d script for Kannel. Its configuration is
# appropriate for a small site running Kannel on one mac