text
stringlengths
3.12k
18.7k
/*----------------------------------------------------------------------------*/ /* Xymon status report generator. */ /* */ /* This is a CGI program to generate a simple HTML table with a summary of ...
#define _GNU_SOURCE //this is needed to be able to use execvpe #include <ctype.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/wait.h> #include <string.h> #include <sys/resource.h> #include <sys/types.h> #include <fcntl.h> typedef struct { char* binary_path; char* s...
/* * Copyright (c) 1996, 2005 VIA Networking Technologies, Inc. * All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your opt...
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <time.h> #include <sys/param.h> #include <sys/socket.h> #include <linux/sockios.h> #include <sys/file.h> #include <sys/time.h> #include <sys/signal.h> #include <sys/ioctl.h> #include <net/if.h> #include <sys/uio.h> #include <sys/poll.h> #include <ctype...
/* example code for cc65, for NES * Scroll Up with metatile system * using neslib * <NAME> 2018 */ #include "LIB/neslib.h" #include "LIB/nesdoug.h" #include "Sprites.h" // holds our metasprite data #include "scroll_up.h" void main (void) { ppu_off(); // screen off // load the palettes pal_bg(pale...
/* pslSplit - "pslSplit - split into multiple output files by qName.*/ #include "common.h" #include <sys/types.h> #include <sys/stat.h> #include "obscure.h" #include "portable.h" #include "linefile.h" #include "psl.h" #include "options.h" static char const rcsid[] = "$Id: pslSplit.c,v 1.7 2006/07/26 01:22:18 baertsch ...
/** * Copyright (C) Mellanox Technologies Ltd. 2020-2021. ALL RIGHTS RESERVED. * * See file LICENSE for terms. */ #ifndef UCX_TEAM_SENDRECV_H_ #define UCX_TEAM_SENDRECV_H_ #include "xccl_ucx_tag.h" #include "xccl_ucx_context.h" #include "xccl_ucx_team.h" #include <assert.h> void xccl_ucx_send_completion_cb(void* re...
/* # <<BEGIN-copyright>> # Copyright 2019, Lawrence Livermore National Security, LLC. # See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: MIT # <<END-copyright>> */ #include <stdio.h> #include <stdarg.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <nfut_utilities.h> #i...
/* Copyright (c) 2012, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. ...
#include <stdio.h> // printf(), fopen(), fseek(), fread(), ftell(), fclose(), FILE #include <stdlib.h> // malloc(), free(), atoi() #include <stdint.h> // uint16_t #include "..\shared\shared_macros.h" // PROJECT_NAME, TRUE, FALSE #include "..\shared\str.h" // str_length(), str_is_equal(), str_new(), str...
/* Copyright (c) 2001 <NAME>. * Copyright (c) 2001-2004, <NAME>. * Copyright (c) 2004-2006, <NAME>, <NAME>. * Copyright (c) 2007-2020, The Tor Project, Inc. */ /* See LICENSE for licensing information */ /** * @file relay_periodic.c * @brief Periodic functions for the relay subsystem **/ #include "orconfig.h" #...
/**************************************************************************//** * @file * @brief efm32g_af_pins Register and Bit Field definitions * @author Energy Micro AS * @version 3.0.2 ****************************************************************************** * @section License * <b>(C) Copyright...
/* * Copyright 2010-2016, Tarantool AUTHORS, please see AUTHORS file. * * Redistribution and use in source and binary forms, with or * without modification, are permitted provided that the following * conditions are met: * * 1. Redistributions of source code must retain the above * copyright notice, this lis...
/* xZTL: Zone Translation Layer User-space Library * * Copyright 2019 Samsung Electronics * * Written by <NAME> <<EMAIL>> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http...
#include <unistd.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdlib.h> #include <errno.h> #include <pthread.h> #include <sys/wait.h> #include <readline/readline.h> #include <readline/history.h> //TODO: //builtins #define TRUE 1 #define FALSE 0 #define READ_END 0 #define WRITE_END 1 #defi...
/** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** ** This notice applies to any and all portions of this file * that are no...