101e04c3fSmrg/* 201e04c3fSmrg * Copyright © 2003 Felix Kuehling 301e04c3fSmrg * Copyright © 2018 Advanced Micro Devices, Inc. 401e04c3fSmrg * All Rights Reserved. 501e04c3fSmrg * 601e04c3fSmrg * Permission is hereby granted, free of charge, to any person obtaining 701e04c3fSmrg * a copy of this software and associated documentation files (the 801e04c3fSmrg * "Software"), to deal in the Software without restriction, including 901e04c3fSmrg * without limitation the rights to use, copy, modify, merge, publish, 1001e04c3fSmrg * distribute, sub license, and/or sell copies of the Software, and to 1101e04c3fSmrg * permit persons to whom the Software is furnished to do so, subject to 1201e04c3fSmrg * the following conditions: 1301e04c3fSmrg * 1401e04c3fSmrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 1501e04c3fSmrg * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 1601e04c3fSmrg * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 1701e04c3fSmrg * NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS, AUTHORS 1801e04c3fSmrg * AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 1901e04c3fSmrg * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 2001e04c3fSmrg * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE 2101e04c3fSmrg * USE OR OTHER DEALINGS IN THE SOFTWARE. 2201e04c3fSmrg * 2301e04c3fSmrg * The above copyright notice and this permission notice (including the 2401e04c3fSmrg * next paragraph) shall be included in all copies or substantial portions 2501e04c3fSmrg * of the Software. 2601e04c3fSmrg */ 2701e04c3fSmrg 2801e04c3fSmrg#ifndef PROCESS_H 2901e04c3fSmrg#define PROCESS_H 3001e04c3fSmrg 317ec681f3Smrg#include <stddef.h> 327ec681f3Smrg 3301e04c3fSmrgconst char * 3401e04c3fSmrgutil_get_process_name(void); 3501e04c3fSmrg 367ec681f3Smrgsize_t 377ec681f3Smrgutil_get_process_exec_path(char* process_path, size_t len); 387ec681f3Smrg 3901e04c3fSmrg#endif 40