Translation components API.

See the Weblate's Web API documentation for detailed description of the API.

GET /api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/units/?format=api
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 68,
    "next": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/units/?format=api&page=2",
    "previous": null,
    "results": [
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "Chapter 9. Writing FreeBSD Device Drivers"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -2703317054944986056,
            "content_hash": -2703317054944986056,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:1",
            "context": "",
            "note": "type: YAML Front Matter: title",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 2,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 6,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136034/?format=api",
            "priority": 100,
            "id": 1136646,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=5a7be37618bfbc38",
            "url": "https://translate-dev.freebsd.org/api/units/1136646/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.191310Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "Writing FreeBSD Device Drivers"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 8486075533268508668,
            "content_hash": 8486075533268508668,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:1, documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:13",
            "context": "",
            "note": "type: Title =",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 1,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 4,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136036/?format=api",
            "priority": 100,
            "id": 1136647,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=f5c498bc819a5ffc",
            "url": "https://translate-dev.freebsd.org/api/units/1136647/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.196001Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "Introduction"
            ],
            "previous_source": "",
            "target": [
                "說明"
            ],
            "id_hash": 5330140601372690748,
            "content_hash": 5330140601372690748,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:51",
            "context": "",
            "note": "type: Title ==",
            "flags": "no-wrap",
            "labels": [],
            "state": 20,
            "fuzzy": false,
            "translated": true,
            "approved": false,
            "position": 3,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 1,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136038/?format=api",
            "priority": 100,
            "id": 1136648,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=c9f876a2fbb4c93c",
            "url": "https://translate-dev.freebsd.org/api/units/1136648/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.200455Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "This chapter provides a brief introduction to writing device drivers for FreeBSD. A device in this context is a term used mostly for hardware-related stuff that belongs to the system, like disks, printers, or a graphics display with its keyboard. A device driver is the software component of the operating system that controls a specific device. There are also so-called pseudo-devices where a device driver emulates the behavior of a device in software without any particular underlying hardware. Device drivers can be compiled into the system statically or loaded on demand through the dynamic kernel linker facility `kld'."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 9075963108666372159,
            "content_hash": 9075963108666372159,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:54",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 4,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 98,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136040/?format=api",
            "priority": 100,
            "id": 1136649,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=fdf44c5c5e9bf03f",
            "url": "https://translate-dev.freebsd.org/api/units/1136649/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.205994Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "Most devices in a UNIX(R)-like operating system are accessed through device-nodes, sometimes also called special files. These files are usually located under the directory [.filename]#/dev# in the filesystem hierarchy."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -6100535167797885519,
            "content_hash": -6100535167797885519,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:56",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 5,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 29,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136042/?format=api",
            "priority": 100,
            "id": 1136650,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=2b568b963fa105b1",
            "url": "https://translate-dev.freebsd.org/api/units/1136650/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.211748Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "Device drivers can roughly be broken down into two categories; character and network device drivers."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 2188068204069803364,
            "content_hash": 2188068204069803364,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:58",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 6,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 15,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136044/?format=api",
            "priority": 100,
            "id": 1136651,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=9e5d94704fe85564",
            "url": "https://translate-dev.freebsd.org/api/units/1136651/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.216522Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "Dynamic Kernel Linker Facility - KLD"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 7674421623761830195,
            "content_hash": 7674421623761830195,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:60",
            "context": "",
            "note": "type: Title ==",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 7,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 6,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136046/?format=api",
            "priority": 100,
            "id": 1136652,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=ea8105ce54e68133",
            "url": "https://translate-dev.freebsd.org/api/units/1136652/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.221756Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "The kld interface allows system administrators to dynamically add and remove functionality from a running system. This allows device driver writers to load their new changes into a running kernel without constantly rebooting to test changes."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 6740171895959367125,
            "content_hash": 6740171895959367125,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:63",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 8,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 36,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136048/?format=api",
            "priority": 100,
            "id": 1136653,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=dd89e6a0dfbaadd5",
            "url": "https://translate-dev.freebsd.org/api/units/1136653/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.225951Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "The kld interface is used through:"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 2184054385523465259,
            "content_hash": 2184054385523465259,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:65",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 9,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 6,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136050/?format=api",
            "priority": 100,
            "id": 1136654,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=9e4f51e45b429c2b",
            "url": "https://translate-dev.freebsd.org/api/units/1136654/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.230357Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "`kldload` - loads a new kernel module"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -3453289121984458492,
            "content_hash": -3453289121984458492,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:67",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 10,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 7,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136052/?format=api",
            "priority": 100,
            "id": 1136655,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=501373d701655104",
            "url": "https://translate-dev.freebsd.org/api/units/1136655/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.234517Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "`kldunload` - unloads a kernel module"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -8302754555814929363,
            "content_hash": -8302754555814929363,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:68",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 11,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 6,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136054/?format=api",
            "priority": 100,
            "id": 1136656,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=0cc6b0b8ab651c2d",
            "url": "https://translate-dev.freebsd.org/api/units/1136656/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.239535Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "`kldstat` - lists loaded modules"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 3587990033655218090,
            "content_hash": 3587990033655218090,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:69",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 12,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 5,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136056/?format=api",
            "priority": 100,
            "id": 1136657,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=b1cb19ecf5a93faa",
            "url": "https://translate-dev.freebsd.org/api/units/1136657/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.244099Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "Skeleton Layout of a kernel module"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -6768464181530108505,
            "content_hash": -6768464181530108505,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:71",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 13,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 6,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136058/?format=api",
            "priority": 100,
            "id": 1136658,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=221195b010f15da7",
            "url": "https://translate-dev.freebsd.org/api/units/1136658/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.286037Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "/*\n * KLD Skeleton\n * Inspired by Andrew Reiter's Daemonnews article\n */\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 4174900884371496136,
            "content_hash": 4174900884371496136,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:78",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 14,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 12,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136060/?format=api",
            "priority": 100,
            "id": 1136659,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=b9f03a3c196d5cc8",
            "url": "https://translate-dev.freebsd.org/api/units/1136659/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.293543Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "/*\n * Load handler that deals with the loading and unloading of a KLD.\n */\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 5264198659201008444,
            "content_hash": 5264198659201008444,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:89",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 16,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 15,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136064/?format=api",
            "priority": 100,
            "id": 1136661,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=c90e30ca24c3833c",
            "url": "https://translate-dev.freebsd.org/api/units/1136661/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.312783Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "static int\nskel_loader(struct module *m, int what, void *arg)\n{\n  int err = 0;\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 8894751195003712946,
            "content_hash": 8894751195003712946,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:94",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 17,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 14,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136066/?format=api",
            "priority": 100,
            "id": 1136662,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=fb708115dfad75b2",
            "url": "https://translate-dev.freebsd.org/api/units/1136662/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.322212Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "  switch (what) {\n  case MOD_LOAD:                /* kldload */\n    uprintf(\"Skeleton KLD loaded.\\n\");\n    break;\n  case MOD_UNLOAD:\n    uprintf(\"Skeleton KLD unloaded.\\n\");\n    break;\n  default:\n    err = EOPNOTSUPP;\n    break;\n  }\n  return(err);\n}\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -8352390002371792887,
            "content_hash": -8352390002371792887,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:108",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 18,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 26,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136068/?format=api",
            "priority": 100,
            "id": 1136663,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=0c16598bb31af009",
            "url": "https://translate-dev.freebsd.org/api/units/1136663/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.330147Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "/* Declare this module to the rest of the kernel */\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -7009921927751979872,
            "content_hash": -7009921927751979872,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:110",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 19,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 11,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136070/?format=api",
            "priority": 100,
            "id": 1136664,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=1eb7c125991f2ca0",
            "url": "https://translate-dev.freebsd.org/api/units/1136664/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.337697Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "static moduledata_t skel_mod = {\n  \"skel\",\n  skel_loader,\n  NULL\n};\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 2411056455918524225,
            "content_hash": 2411056455918524225,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:116",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 20,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 9,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136072/?format=api",
            "priority": 100,
            "id": 1136665,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=a175cb12846f9741",
            "url": "https://translate-dev.freebsd.org/api/units/1136665/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.344973Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "DECLARE_MODULE(skeleton, skel_mod, SI_SUB_KLD, SI_ORDER_ANY);\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -2582663552962118802,
            "content_hash": -2582663552962118802,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:118",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 21,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 4,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136074/?format=api",
            "priority": 100,
            "id": 1136666,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=5c28892e9f583b6e",
            "url": "https://translate-dev.freebsd.org/api/units/1136666/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.351507Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "Makefile"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -4026927537722843054,
            "content_hash": -4026927537722843054,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:120",
            "context": "",
            "note": "type: Title ===",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 22,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 1,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136076/?format=api",
            "priority": 100,
            "id": 1136667,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=481d7abd71caa052",
            "url": "https://translate-dev.freebsd.org/api/units/1136667/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.386904Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "FreeBSD provides a system makefile to simplify compiling a kernel module."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 4065885713308074158,
            "content_hash": 4065885713308074158,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:123",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 23,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 11,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136078/?format=api",
            "priority": 100,
            "id": 1136668,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=b86ced83a71040ae",
            "url": "https://translate-dev.freebsd.org/api/units/1136668/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.392871Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "SRCS=skeleton.c\nKMOD=skeleton\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -7203815899468211751,
            "content_hash": -7203815899468211751,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:128",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 24,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 2,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136080/?format=api",
            "priority": 100,
            "id": 1136669,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=1c06e79b5ce2d9d9",
            "url": "https://translate-dev.freebsd.org/api/units/1136669/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.398852Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                ".include <bsd.kmod.mk>\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 8975336119357712390,
            "content_hash": 8975336119357712390,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:130",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 25,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 2,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136082/?format=api",
            "priority": 100,
            "id": 1136670,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=fc8ecca5ae0ca806",
            "url": "https://translate-dev.freebsd.org/api/units/1136670/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.404326Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "Running `make` with this makefile will create a file [.filename]#skeleton.ko# that can be loaded into the kernel by typing:"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 8349306993799774076,
            "content_hash": 8349306993799774076,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:133",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 26,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 19,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136084/?format=api",
            "priority": 100,
            "id": 1136671,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=f3deb2796e1ebf7c",
            "url": "https://translate-dev.freebsd.org/api/units/1136671/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.409827Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "# kldload -v ./skeleton.ko\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -3661879904106564154,
            "content_hash": -3661879904106564154,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:137",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 27,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 4,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136086/?format=api",
            "priority": 100,
            "id": 1136672,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=4d2e63a0f19635c6",
            "url": "https://translate-dev.freebsd.org/api/units/1136672/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.415186Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "Character Devices"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -4964220595905380725,
            "content_hash": -4964220595905380725,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:140",
            "context": "",
            "note": "type: Title ==",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 28,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 2,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136088/?format=api",
            "priority": 100,
            "id": 1136673,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=3b1b8bab6a61be8b",
            "url": "https://translate-dev.freebsd.org/api/units/1136673/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.420502Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "A character device driver is one that transfers data directly to and from a user process. This is the most common type of device driver and there are plenty of simple examples in the source tree."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 1710985152252052202,
            "content_hash": 1710985152252052202,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:143",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 29,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 36,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136090/?format=api",
            "priority": 100,
            "id": 1136674,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=97bea3ee47f382ea",
            "url": "https://translate-dev.freebsd.org/api/units/1136674/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.425406Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "This simple example pseudo-device remembers whatever values are written to it and can then echo them back when read."
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 7064233888484736796,
            "content_hash": 7064233888484736796,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:145",
            "context": "",
            "note": "type: Plain text",
            "flags": "",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 30,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 19,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136092/?format=api",
            "priority": 100,
            "id": 1136675,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=e209334b2d68bf1c",
            "url": "https://translate-dev.freebsd.org/api/units/1136675/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.430108Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "Example of a Sample Echo Pseudo-Device Driver for FreeBSD 10.X - 12.X"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 9144301548006342219,
            "content_hash": 9144301548006342219,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:146",
            "context": "",
            "note": "type: Block title",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 31,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 12,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136094/?format=api",
            "priority": 100,
            "id": 1136676,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=fee715cf2ff8fe4b",
            "url": "https://translate-dev.freebsd.org/api/units/1136676/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.435027Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "/*\n * Simple Echo pseudo-device KLD\n *\n * Murray Stokely\n * Søren (Xride) Straarup\n * Eitan Adler\n */\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 9217523059148232746,
            "content_hash": 9217523059148232746,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:158",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 32,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 18,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136096/?format=api",
            "priority": 100,
            "id": 1136677,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=ffeb3862c180982a",
            "url": "https://translate-dev.freebsd.org/api/units/1136677/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.440690Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "#define BUFFERSIZE 255\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -6496193265239849892,
            "content_hash": -6496193265239849892,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:169",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 34,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 3,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136100/?format=api",
            "priority": 100,
            "id": 1136679,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=25d8e2a4c118045c",
            "url": "https://translate-dev.freebsd.org/api/units/1136679/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.451225Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "/* Function prototypes */\nstatic d_open_t      echo_open;\nstatic d_close_t     echo_close;\nstatic d_read_t      echo_read;\nstatic d_write_t     echo_write;\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -2554704346690482877,
            "content_hash": -2554704346690482877,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:175",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 35,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 16,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136102/?format=api",
            "priority": 100,
            "id": 1136680,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=5c8bddee9d5e0d43",
            "url": "https://translate-dev.freebsd.org/api/units/1136680/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.487461Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "/* Character device entry points */\nstatic struct cdevsw echo_cdevsw = {\n\t.d_version = D_VERSION,\n\t.d_open = echo_open,\n\t.d_close = echo_close,\n\t.d_read = echo_read,\n\t.d_write = echo_write,\n\t.d_name = \"echo\",\n};\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -2577642540047567972,
            "content_hash": -2577642540047567972,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:185",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 36,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 31,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136104/?format=api",
            "priority": 100,
            "id": 1136681,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=5c3a5fc44a87739c",
            "url": "https://translate-dev.freebsd.org/api/units/1136681/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.493238Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "struct s_echo {\n\tchar msg[BUFFERSIZE + 1];\n\tint len;\n};\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 1441649793368571868,
            "content_hash": 1441649793368571868,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:190",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 37,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 10,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136106/?format=api",
            "priority": 100,
            "id": 1136682,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=9401c4d9503fbfdc",
            "url": "https://translate-dev.freebsd.org/api/units/1136682/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.499704Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "/* vars */\nstatic struct cdev *echo_dev;\nstatic struct s_echo *echomsg;\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -3726371867551551728,
            "content_hash": -3726371867551551728,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:194",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 38,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 11,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136108/?format=api",
            "priority": 100,
            "id": 1136683,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=4c4944879594af10",
            "url": "https://translate-dev.freebsd.org/api/units/1136683/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.507150Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "MALLOC_DECLARE(M_ECHOBUF);\nMALLOC_DEFINE(M_ECHOBUF, \"echobuffer\", \"buffer for echo module\");\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -2642381109602615962,
            "content_hash": -2642381109602615962,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:197",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 39,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 7,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136110/?format=api",
            "priority": 100,
            "id": 1136684,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=5b54606178eefd66",
            "url": "https://translate-dev.freebsd.org/api/units/1136684/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.514603Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "/*\n * This function is called by the kld[un]load(2) system calls to\n * determine what actions to take when a module is loaded or unloaded.\n */\nstatic int\necho_loader(struct module *m __unused, int what, void *arg __unused)\n{\n\tint error = 0;\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -1622720009541924125,
            "content_hash": -1622720009541924125,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:206",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 40,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 42,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136112/?format=api",
            "priority": 100,
            "id": 1136685,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=697af0bfb555cae3",
            "url": "https://translate-dev.freebsd.org/api/units/1136685/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.521542Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "\tswitch (what) {\n\tcase MOD_LOAD:                /* kldload */\n\t\terror = make_dev_p(MAKEDEV_CHECKNAME | MAKEDEV_WAITOK,\n\t\t    &echo_dev,\n\t\t    &echo_cdevsw,\n\t\t    0,\n\t\t    UID_ROOT,\n\t\t    GID_WHEEL,\n\t\t    0600,\n\t\t    \"echo\");\n\t\tif (error != 0)\n\t\t\tbreak;\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 1122053842250901903,
            "content_hash": 1122053842250901903,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:219",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 41,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 25,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136114/?format=api",
            "priority": 100,
            "id": 1136686,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=8f9256064e3a298f",
            "url": "https://translate-dev.freebsd.org/api/units/1136686/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.526982Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "\t\techomsg = malloc(sizeof(*echomsg), M_ECHOBUF, M_WAITOK |\n\t\t    M_ZERO);\n\t\tprintf(\"Echo device loaded.\\n\");\n\t\tbreak;\n\tcase MOD_UNLOAD:\n\t\tdestroy_dev(echo_dev);\n\t\tfree(echomsg, M_ECHOBUF);\n\t\tprintf(\"Echo device unloaded.\\n\");\n\t\tbreak;\n\tdefault:\n\t\terror = EOPNOTSUPP;\n\t\tbreak;\n\t}\n\treturn (error);\n}\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 4708694033005223695,
            "content_hash": 4708694033005223695,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:235",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 42,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 29,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136116/?format=api",
            "priority": 100,
            "id": 1136687,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=c158a44679471f0f",
            "url": "https://translate-dev.freebsd.org/api/units/1136687/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.532325Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "static int\necho_open(struct cdev *dev __unused, int oflags __unused, int devtype __unused,\n    struct thread *td __unused)\n{\n\tint error = 0;\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 2578992003593899756,
            "content_hash": 2578992003593899756,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:241",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 43,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 21,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136118/?format=api",
            "priority": 100,
            "id": 1136688,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=a3ca6b902cc98eec",
            "url": "https://translate-dev.freebsd.org/api/units/1136688/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.538054Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "\tuprintf(\"Opened device \\\"echo\\\" successfully.\\n\");\n\treturn (error);\n}\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -6907858020286882886,
            "content_hash": -6907858020286882886,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:245",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 44,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 7,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136120/?format=api",
            "priority": 100,
            "id": 1136689,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=20225bbaddf79bba",
            "url": "https://translate-dev.freebsd.org/api/units/1136689/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.543907Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "static int\necho_close(struct cdev *dev __unused, int fflag __unused, int devtype __unused,\n    struct thread *td __unused)\n{\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -5115587816924568140,
            "content_hash": -5115587816924568140,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:250",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 45,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 17,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136122/?format=api",
            "priority": 100,
            "id": 1136690,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=3901c7fbeae525b4",
            "url": "https://translate-dev.freebsd.org/api/units/1136690/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.549490Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "\tuprintf(\"Closing device \\\"echo\\\".\\n\");\n\treturn (0);\n}\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 4453322758919858179,
            "content_hash": 4453322758919858179,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:254",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 46,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 6,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136124/?format=api",
            "priority": 100,
            "id": 1136691,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=bdcd61745b94a803",
            "url": "https://translate-dev.freebsd.org/api/units/1136691/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.554596Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "/*\n * The read function just takes the buf that was saved via\n * echo_write() and returns it to userland for accessing.\n * uio(9)\n */\nstatic int\necho_read(struct cdev *dev __unused, struct uio *uio, int ioflag __unused)\n{\n\tsize_t amt;\n\tint error;\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -872242036626685392,
            "content_hash": -872242036626685392,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:265",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 47,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 42,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136126/?format=api",
            "priority": 100,
            "id": 1136692,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=73e52c7d30b40230",
            "url": "https://translate-dev.freebsd.org/api/units/1136692/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.582874Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "\t/*\n\t * How big is this read operation?  Either as big as the user wants,\n\t * or as big as the remaining data.  Note that the 'len' does not\n\t * include the trailing null character.\n\t */\n\tamt = MIN(uio->uio_resid, uio->uio_offset >= echomsg->len + 1 ? 0 :\n\t    echomsg->len + 1 - uio->uio_offset);\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 2709165537379200475,
            "content_hash": 2709165537379200475,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:273",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 48,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 52,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136128/?format=api",
            "priority": 100,
            "id": 1136693,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=a598e3b3d537addb",
            "url": "https://translate-dev.freebsd.org/api/units/1136693/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.590290Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "\tif ((error = uiomove(echomsg->msg, amt, uio)) != 0)\n\t\tuprintf(\"uiomove failed!\\n\");\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -8185981403895168414,
            "content_hash": -8185981403895168414,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:276",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 49,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 10,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136130/?format=api",
            "priority": 100,
            "id": 1136694,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=0e658d48cae00262",
            "url": "https://translate-dev.freebsd.org/api/units/1136694/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.597271Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "\treturn (error);\n}\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": 3760637992045188828,
            "content_hash": 3760637992045188828,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:279",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 50,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 3,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136132/?format=api",
            "priority": 100,
            "id": 1136695,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=b43078543cb116dc",
            "url": "https://translate-dev.freebsd.org/api/units/1136695/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.602505Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "/*\n * echo_write takes in a character string and saves it\n * to buf for later accessing.\n */\nstatic int\necho_write(struct cdev *dev __unused, struct uio *uio, int ioflag __unused)\n{\n\tsize_t amt;\n\tint error;\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -6867181188477616930,
            "content_hash": -6867181188477616930,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:289",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 51,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 35,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136134/?format=api",
            "priority": 100,
            "id": 1136696,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=20b2df17cc8bfcde",
            "url": "https://translate-dev.freebsd.org/api/units/1136696/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.609459Z"
        },
        {
            "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/zh_TW/?format=api",
            "source": [
                "\t/*\n\t * We either write from the beginning or are appending -- do\n\t * not allow random access.\n\t */\n\tif (uio->uio_offset != 0 && (uio->uio_offset != echomsg->len))\n\t\treturn (EINVAL);\n"
            ],
            "previous_source": "",
            "target": [
                ""
            ],
            "id_hash": -172368651321161343,
            "content_hash": -172368651321161343,
            "location": "documentation/content/en/books/arch-handbook/driverbasics/_index.adoc:296",
            "context": "",
            "note": "type: delimited block . 4",
            "flags": "no-wrap",
            "labels": [],
            "state": 0,
            "fuzzy": false,
            "translated": false,
            "approved": false,
            "position": 52,
            "has_suggestion": false,
            "has_comment": false,
            "has_failing_check": false,
            "num_words": 29,
            "source_unit": "https://translate-dev.freebsd.org/api/units/1136136/?format=api",
            "priority": 100,
            "id": 1136697,
            "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/zh_TW/?checksum=7d9b9f9ff796c981",
            "url": "https://translate-dev.freebsd.org/api/units/1136697/?format=api",
            "explanation": "",
            "extra_flags": "",
            "pending": false,
            "timestamp": "2021-05-23T13:17:43.616051Z"
        }
    ]
}