Skip to content
Snippets Groups Projects
Select Git revision
  • 8f66b3855384502e2870035726746615bd363d7d
  • master default protected
2 results

utils.h

Blame
  • utils.h 987 B
    /*
     * relaxisloader
     * Copyright (C) Carl Philipp Klemm 2023 <carl@uvos.xyz>
     *
     * relaxisloader is free software: you can redistribute it and/or modify it
     * under the terms of the lesser GNU General Public License as published by the
     * Free Software Foundation, either version 3 of the License, or
     * (at your option) any later version.
     *
     * relaxisloader is distributed in the hope that it will be useful, but
     * WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
     * See the GNU General Public License for more details.
     *
     * You should have received a copy of the lesser GNU General Public License along
     * with this program.  If not, see <http://www.gnu.org/licenses/>.
     */
    
    #pragma once
    #include <time.h>
    
    char *rlx_strconcat(const char* a, const char* b);
    char *rlx_strdup(const char* a);
    time_t rlx_str_to_time(const char* str);
    char *rlx_alloc_printf(const char* fmt, ...) __attribute__((format(printf, 1, 2)));