Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/documentation/booksarch-handbookdriverbasics_index/es/units/?format=api
https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/units/?format=api&page=2", "previous": null, "results": [ { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "Chapter 9. Writing FreeBSD Device Drivers" ], "previous_source": "", "target": [ "Capítulo 9. Escribiendo Drivers para FreeBSD" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136035, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=5a7be37618bfbc38", "url": "https://translate-dev.freebsd.org/api/units/1136035/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.185416Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "Writing FreeBSD Device Drivers" ], "previous_source": "", "target": [ "Escribiendo Drivers para FreeBSD" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136037, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=f5c498bc819a5ffc", "url": "https://translate-dev.freebsd.org/api/units/1136037/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.201278Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "Introduction" ], "previous_source": "", "target": [ "Introducción" ], "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": 1136039, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=c9f876a2fbb4c93c", "url": "https://translate-dev.freebsd.org/api/units/1136039/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.216955Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?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": [ "Este capítulo ofrece una breve introducción sobre la escritura de drivers de dispositivos para FreeBSD. Un dispositivo, en este contexto, es un término que se utiliza sobre todo para aquello relacionado con hardware perteneciente al sistema, como discos, impresoras, o un monitor gráfico con su teclado. Un driver es el componente de software del sistema operativo que controla un dispositivo específico. También existen los llamados pseudodispositivos, donde un driver emula el comportamiento de un dispositivo real en software, sin utilizar ningún tipo de hardware. Los drivers se pueden compilar en el sistema estáticamente, o cargarse conforme se necesiten a través del servicio de enlazado dinámico del kernel, `kld'." ], "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": 20, "fuzzy": false, "translated": true, "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": 1136041, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=fdf44c5c5e9bf03f", "url": "https://translate-dev.freebsd.org/api/units/1136041/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.235477Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?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": [ "La mayoría de dispositivos en un sistema operativo basado en UNIX(R) se utilizan a través de nodos de dispositivo, también conocidos como archivos especiales. Estos archivos se encuentran normalmente bajo el directorio [.filename]#/dev#, en la jerarquía de ficheros." ], "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": 20, "fuzzy": false, "translated": true, "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": 1136043, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=2b568b963fa105b1", "url": "https://translate-dev.freebsd.org/api/units/1136043/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.287539Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "Device drivers can roughly be broken down into two categories; character and network device drivers." ], "previous_source": "", "target": [ "Los drivers se pueden separar ligeramente en dos categorías; drivers para dispositivos de caracteres y de red." ], "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": 20, "fuzzy": false, "translated": true, "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": 1136045, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=9e5d94704fe85564", "url": "https://translate-dev.freebsd.org/api/units/1136045/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.308840Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "Dynamic Kernel Linker Facility - KLD" ], "previous_source": "", "target": [ "Servicio de Enlazado Dinámico del Kernel - KLD" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136047, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=ea8105ce54e68133", "url": "https://translate-dev.freebsd.org/api/units/1136047/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.329273Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?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": [ "La interfaz de kld permite que los administradores de sistemas añadan o eliminen funcionalidad de un sistema en funcionamiento. Esto permite a los programadores de drivers cargar sus nuevas modificaciones en un kernel en ejecución, sin tener que estar reiniciando todo el rato para realizar pruebas." ], "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": 20, "fuzzy": false, "translated": true, "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": 1136049, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=dd89e6a0dfbaadd5", "url": "https://translate-dev.freebsd.org/api/units/1136049/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.374827Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "The kld interface is used through:" ], "previous_source": "", "target": [ "La interfaz de kld se utiliza a través de:" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136051, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=9e4f51e45b429c2b", "url": "https://translate-dev.freebsd.org/api/units/1136051/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.394887Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "`kldload` - loads a new kernel module" ], "previous_source": "", "target": [ "`kldload`- carga un nuevo módulo de kernel" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136053, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=501373d701655104", "url": "https://translate-dev.freebsd.org/api/units/1136053/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.409873Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "`kldunload` - unloads a kernel module" ], "previous_source": "", "target": [ "`kldunload` - desactiva un módulo de kernel" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136055, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=0cc6b0b8ab651c2d", "url": "https://translate-dev.freebsd.org/api/units/1136055/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.425485Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "`kldstat` - lists loaded modules" ], "previous_source": "", "target": [ "`kldstat` - lista los módulos cargados" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136057, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=b1cb19ecf5a93faa", "url": "https://translate-dev.freebsd.org/api/units/1136057/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.441961Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "Skeleton Layout of a kernel module" ], "previous_source": "", "target": [ "Estructura de un módulo de kernel" ], "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": 20, "fuzzy": false, "translated": true, "approved": false, "position": 13, "has_suggestion": false, "has_comment": true, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate-dev.freebsd.org/api/units/1136058/?format=api", "priority": 100, "id": 1136059, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=221195b010f15da7", "url": "https://translate-dev.freebsd.org/api/units/1136059/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.485028Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "/*\n * KLD Skeleton\n * Inspired by Andrew Reiter's Daemonnews article\n */\n" ], "previous_source": "", "target": [ "/*\n * KLD Skeleton\n * Inspired by Andrew Reiter's Daemonnews article\n */\n" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136061, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=b9f03a3c196d5cc8", "url": "https://translate-dev.freebsd.org/api/units/1136061/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.502879Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "/*\n * Load handler that deals with the loading and unloading of a KLD.\n */\n" ], "previous_source": "", "target": [ "/*\n * Load handler that deals with the loading and unloading of a KLD.\n */\n" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136065, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=c90e30ca24c3833c", "url": "https://translate-dev.freebsd.org/api/units/1136065/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.537020Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "static int\nskel_loader(struct module *m, int what, void *arg)\n{\n int err = 0;\n" ], "previous_source": "", "target": [ "static int\nskel_loader(struct module *m, int what, void *arg)\n{\n int err = 0;\n" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136067, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=fb708115dfad75b2", "url": "https://translate-dev.freebsd.org/api/units/1136067/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.586410Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?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": [ " 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" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136069, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=0c16598bb31af009", "url": "https://translate-dev.freebsd.org/api/units/1136069/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.609068Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "/* Declare this module to the rest of the kernel */\n" ], "previous_source": "", "target": [ "/* Declare this module to the rest of the kernel */\n" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136071, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=1eb7c125991f2ca0", "url": "https://translate-dev.freebsd.org/api/units/1136071/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.627004Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "static moduledata_t skel_mod = {\n \"skel\",\n skel_loader,\n NULL\n};\n" ], "previous_source": "", "target": [ "static moduledata_t skel_mod = {\n \"skel\",\n skel_loader,\n NULL\n};\n" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136073, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=a175cb12846f9741", "url": "https://translate-dev.freebsd.org/api/units/1136073/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.642418Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "DECLARE_MODULE(skeleton, skel_mod, SI_SUB_KLD, SI_ORDER_ANY);\n" ], "previous_source": "", "target": [ "DECLARE_MODULE(skeleton, skel_mod, SI_SUB_KLD, SI_ORDER_ANY);\n" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136075, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=5c28892e9f583b6e", "url": "https://translate-dev.freebsd.org/api/units/1136075/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.686841Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "Makefile" ], "previous_source": "", "target": [ "Makefile" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136077, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=481d7abd71caa052", "url": "https://translate-dev.freebsd.org/api/units/1136077/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.704067Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "FreeBSD provides a system makefile to simplify compiling a kernel module." ], "previous_source": "", "target": [ "FreeBSD proporciona un makefile de sistema para simplificar la compilación de un módulo de kernel." ], "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": 20, "fuzzy": false, "translated": true, "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": 1136079, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=b86ced83a71040ae", "url": "https://translate-dev.freebsd.org/api/units/1136079/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.718459Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "SRCS=skeleton.c\nKMOD=skeleton\n" ], "previous_source": "", "target": [ "SRCS=skeleton.c\nKMOD=skeleton\n" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136081, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=1c06e79b5ce2d9d9", "url": "https://translate-dev.freebsd.org/api/units/1136081/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.733351Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ ".include <bsd.kmod.mk>\n" ], "previous_source": "", "target": [ ".include <bsd.kmod.mk>\n" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136083, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=fc8ecca5ae0ca806", "url": "https://translate-dev.freebsd.org/api/units/1136083/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.793899Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?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": [ "Ejecutar `make` con este makefile creará un archivo [.filename]#skeleton.ko# que se puede cargar en el kernel escribiendo:" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136085, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=f3deb2796e1ebf7c", "url": "https://translate-dev.freebsd.org/api/units/1136085/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.818285Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "# kldload -v ./skeleton.ko\n" ], "previous_source": "", "target": [ "# kldload -v ./skeleton.ko\n" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136087, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=4d2e63a0f19635c6", "url": "https://translate-dev.freebsd.org/api/units/1136087/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.838159Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "Character Devices" ], "previous_source": "", "target": [ "Dispositivos de Caracteres" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136089, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=3b1b8bab6a61be8b", "url": "https://translate-dev.freebsd.org/api/units/1136089/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.885006Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?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": [ "Un driver para dispositivos de caracteres es uno que intercambia datos directamente con un proceso de usuario. Este es el tipo de driver más común y hay un montón de ejemplos sencillos en el árbol de sources." ], "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": 20, "fuzzy": false, "translated": true, "approved": false, "position": 29, "has_suggestion": false, "has_comment": true, "has_failing_check": false, "num_words": 36, "source_unit": "https://translate-dev.freebsd.org/api/units/1136090/?format=api", "priority": 100, "id": 1136091, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=97bea3ee47f382ea", "url": "https://translate-dev.freebsd.org/api/units/1136091/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.902297Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?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": [ "Este simple pseudodispositivo de prueba recuerda lo que sea que se le escribe, y lo repite al leer del mismo." ], "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": 20, "fuzzy": false, "translated": true, "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": 1136093, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=e209334b2d68bf1c", "url": "https://translate-dev.freebsd.org/api/units/1136093/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.918828Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "Example of a Sample Echo Pseudo-Device Driver for FreeBSD 10.X - 12.X" ], "previous_source": "", "target": [ "Ejemplo de un Driver Pseudodispositivo Echo de Prueba para FreeBSD 10.X - 12.X" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136095, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=fee715cf2ff8fe4b", "url": "https://translate-dev.freebsd.org/api/units/1136095/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.937094Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?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": [ "/*\n * Simple Echo pseudo-device KLD\n *\n * Murray Stokely\n * Søren (Xride) Straarup\n * Eitan Adler\n */\n" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136097, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=ffeb3862c180982a", "url": "https://translate-dev.freebsd.org/api/units/1136097/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:25.992060Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "#define BUFFERSIZE 255\n" ], "previous_source": "", "target": [ "#define BUFFERSIZE 255\n" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136101, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=25d8e2a4c118045c", "url": "https://translate-dev.freebsd.org/api/units/1136101/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:26.035043Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?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": [ "/* 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" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136103, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=5c8bddee9d5e0d43", "url": "https://translate-dev.freebsd.org/api/units/1136103/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:26.089995Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?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": [ "/* 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" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136105, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=5c3a5fc44a87739c", "url": "https://translate-dev.freebsd.org/api/units/1136105/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:26.113593Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "struct s_echo {\n\tchar msg[BUFFERSIZE + 1];\n\tint len;\n};\n" ], "previous_source": "", "target": [ "struct s_echo {\n\tchar msg[BUFFERSIZE + 1];\n\tint len;\n};\n" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136107, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=9401c4d9503fbfdc", "url": "https://translate-dev.freebsd.org/api/units/1136107/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:26.134151Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "/* vars */\nstatic struct cdev *echo_dev;\nstatic struct s_echo *echomsg;\n" ], "previous_source": "", "target": [ "/* vars */\nstatic struct cdev *echo_dev;\nstatic struct s_echo *echomsg;\n" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136109, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=4c4944879594af10", "url": "https://translate-dev.freebsd.org/api/units/1136109/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:26.181534Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "MALLOC_DECLARE(M_ECHOBUF);\nMALLOC_DEFINE(M_ECHOBUF, \"echobuffer\", \"buffer for echo module\");\n" ], "previous_source": "", "target": [ "MALLOC_DECLARE(M_ECHOBUF);\nMALLOC_DEFINE(M_ECHOBUF, \"echobuffer\", \"buffer for echo module\");\n" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136111, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=5b54606178eefd66", "url": "https://translate-dev.freebsd.org/api/units/1136111/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:26.202674Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?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": [ "/*\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" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136113, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=697af0bfb555cae3", "url": "https://translate-dev.freebsd.org/api/units/1136113/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:26.222431Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?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": [ "\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" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136115, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=8f9256064e3a298f", "url": "https://translate-dev.freebsd.org/api/units/1136115/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:26.242942Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?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": [ "\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" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136117, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=c158a44679471f0f", "url": "https://translate-dev.freebsd.org/api/units/1136117/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:26.291204Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?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": [ "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" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136119, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=a3ca6b902cc98eec", "url": "https://translate-dev.freebsd.org/api/units/1136119/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:26.427092Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "\tuprintf(\"Opened device \\\"echo\\\" successfully.\\n\");\n\treturn (error);\n}\n" ], "previous_source": "", "target": [ "\tuprintf(\"Opened device \\\"echo\\\" successfully.\\n\");\n\treturn (error);\n}\n" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136121, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=20225bbaddf79bba", "url": "https://translate-dev.freebsd.org/api/units/1136121/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:26.482120Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?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": [ "static int\necho_close(struct cdev *dev __unused, int fflag __unused, int devtype __unused,\n struct thread *td __unused)\n{\n" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136123, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=3901c7fbeae525b4", "url": "https://translate-dev.freebsd.org/api/units/1136123/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:26.500655Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "\tuprintf(\"Closing device \\\"echo\\\".\\n\");\n\treturn (0);\n}\n" ], "previous_source": "", "target": [ "\tuprintf(\"Closing device \\\"echo\\\".\\n\");\n\treturn (0);\n}\n" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136125, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=bdcd61745b94a803", "url": "https://translate-dev.freebsd.org/api/units/1136125/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:26.516047Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?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": [ "/*\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" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136127, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=73e52c7d30b40230", "url": "https://translate-dev.freebsd.org/api/units/1136127/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:26.532033Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?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": [ "\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" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136129, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=a598e3b3d537addb", "url": "https://translate-dev.freebsd.org/api/units/1136129/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:26.598576Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "\tif ((error = uiomove(echomsg->msg, amt, uio)) != 0)\n\t\tuprintf(\"uiomove failed!\\n\");\n" ], "previous_source": "", "target": [ "\tif ((error = uiomove(echomsg->msg, amt, uio)) != 0)\n\t\tuprintf(\"uiomove failed!\\n\");\n" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136131, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=0e658d48cae00262", "url": "https://translate-dev.freebsd.org/api/units/1136131/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:26.620024Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?format=api", "source": [ "\treturn (error);\n}\n" ], "previous_source": "", "target": [ "\treturn (error);\n}\n" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136133, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=b43078543cb116dc", "url": "https://translate-dev.freebsd.org/api/units/1136133/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:26.640443Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?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": [ "/*\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" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136135, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=20b2df17cc8bfcde", "url": "https://translate-dev.freebsd.org/api/units/1136135/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:26.689418Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookdriverbasics_index/es/?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": [ "\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" ], "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": 20, "fuzzy": false, "translated": true, "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": 1136137, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookdriverbasics_index/es/?checksum=7d9b9f9ff796c981", "url": "https://translate-dev.freebsd.org/api/units/1136137/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:17:26.714982Z" } ] }{ "count": 68, "next": "