# d3c0ys/libft-atchchan architecture

> Architecture diagram of the GitHub repository d3c0ys/libft-atchchan, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-10). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/d3c0ys/libft-atchchan
- Repository: https://github.com/d3c0ys/libft-atchchan

## Overview

Libft is a reusable C utility library, not a standalone application: callers invoke its reimplementations of common C routines and its custom string and list utilities. The README documents those capability areas and use through the public header. The graph groups implementation files by responsibility; only the shown source excerpts support internal call edges, so unshown cross-function relationships are omitted.

Main entry points: [`libft.h`](https://github.com/d3c0ys/libft-atchchan/blob/master/libft.h) (Public declarations)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_api["Public interface"]
  node_header["Public declarations<br/>[libft.h]"]
end

subgraph group_core["C primitives"]
  node_checks["Character checks"]
  node_memory["Memory operations"]
  node_standard_strings["Standard strings"]
end

subgraph group_strings["String utilities"]
  node_conversions["Numeric conversion"]
  node_string_builders["String utilities"]
end

subgraph group_output["Descriptor output"]
  node_fd_output["FD output"]
end

subgraph group_lists["Linked lists"]
  node_list_ops["List operations"]
end

node_caller(("Library caller"))

node_caller -->|"includes"| node_header
node_caller -->|"calls"| node_checks
node_caller -->|"calls"| node_memory
node_caller -->|"calls"| node_standard_strings
node_caller -->|"calls"| node_conversions
node_caller -->|"calls"| node_string_builders
node_caller -->|"calls"| node_fd_output
node_caller -->|"calls"| node_list_ops
node_string_builders -->|"uses strlen"| node_standard_strings
node_string_builders -->|"uses allocation"| node_memory
node_list_ops -->|"builds and clears"| node_list_ops

click node_header "https://github.com/d3c0ys/libft-atchchan/blob/master/libft.h"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_header toneBlue
class node_checks,node_memory,node_standard_strings toneAmber
class node_conversions,node_string_builders toneMint
class node_fd_output toneRose
class node_list_ops,node_caller toneIndigo
```

## Components

### Public interface

- [Public declarations](https://github.com/d3c0ys/libft-atchchan/blob/master/libft.h): `libft.h`

### C primitives

- **Character checks**
- **Memory operations**
- **Standard strings**

### String utilities

- **Numeric conversion**
- **String utilities**

### Descriptor output

- **FD output**

### Linked lists

- **List operations**

### Other components

- **Library caller**

## Connections

- Library caller → Public declarations: includes
- Library caller → Character checks: calls
- Library caller → Memory operations: calls
- Library caller → Standard strings: calls
- Library caller → Numeric conversion: calls
- Library caller → String utilities: calls
- Library caller → FD output: calls
- Library caller → List operations: calls
- String utilities → Standard strings: uses strlen
- String utilities → Memory operations: uses allocation
- List operations → List operations: builds and clears
