Code Monkey home page Code Monkey logo

cfast's Introduction

CFAST

CFAST, a cross-platform C library for writing client, server and IoT applications.

Features

This library is a cross-platform library, which support many features.

  • Base types definitions.
  • Thread, TLS, Socket, DSO(Dynamic Symbol Object).
  • Array, List, Queue, HashTable.
  • Mutex, Event.
  • CLI like python click.
  • Time and Clock.
  • Debug utils.
  • Error system.
  • File operations.
  • Logging.
  • Memory management and a session based memory pool.
  • Getopt.
  • String operations.
  • Bytes reader and writer.
  • numerics, version utils.

Platforms

CFAST has been tested on a variety of platforms:

  • Mac OSX
  • Windows
  • Android

Compile

We use cmake to build CFAST library.

cmake -Bbuild
cmake --build build

You can run all tests in linux or mac:

cd build
ctest

Author

tkorays: [email protected]

cfast's People

Contributors

nonii avatar tkorays avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

zhangjinde

cfast's Issues

支持日志重定向

可以某些日志级别的日志重定向/复制到其他地方,如标准输出。

seek arg error

static cf_char_t* _seek_arg(cf_char_t* arg, cf_char_t** out) {
....
p = arg;
while (*p && CF_IS_SPACE(*p)) (p++) = '\0'; / start */
if(!*p) return CF_NULL_PTR;
....
eos = *p ? CF_FALSE : CF_TRUE;
*p = '\0';
*out = cnt ? start : CF_NULL_PTR;
return eos ? p : p+1;
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.