Units API.

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

GET /api/units/26326/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/articles_linux-emulation/es/?format=api",
    "source": [
        "When a process issues an interrupt <literal>0x80</literal>, the <literal>int0x80</literal> syscall trap handler is issued (defined in <filename>sys/i386/i386/exception.s</filename>), which prepares arguments (i.e. copies them on to the stack) for a call to a C function <citerefentry><refentrytitle>syscall</refentrytitle><manvolnum>2</manvolnum></citerefentry> (defined in <filename>sys/i386/i386/trap.c</filename>), which processes the passed in trapframe. The processing consists of preparing the syscall (depending on the <literal>sysvec</literal> entry), determining if the syscall is 32-bit or 64-bit one (changes size of the parameters), then the parameters are copied, including the syscall. Next, the actual syscall function is executed with processing of the return code (special cases for <literal>ERESTART</literal> and <literal>EJUSTRETURN</literal> errors). Finally an <literal>userret()</literal> is scheduled, switching the process back to the users-pace. The parameters to the actual syscall handler are passed in the form of <literal>struct thread *td</literal>, <literal>struct syscall args *</literal> arguments where the second parameter is a pointer to the copied in structure of parameters."
    ],
    "previous_source": "",
    "target": [
        "Cuando un proceso emite una interrupción <literal>0x80</literal>, el <literal>int0x80</literal>Se emite el controlador de capturas syscall (definido en <filename>sys/i386/i386/exception.s</filename>), que prepara argumentos (es decir, los copia en la pila) para una llamada a una función C <citerefentry><refentrytitle>syscall</refentrytitle><manvolnum>2</manvolnum></citerefentry> (definido en <filename>sys/i386/i386/trap.c</filename>), que procesa el pasado en trampilla. El procesamiento consiste en preparar el syscall (dependiendo del <literal>sysvec</literal> entrada), Al determinar si la llamada al sistema es de 32 bits o de 64 bits (cambia el tamaño de los parámetros), los parámetros se copian, incluida la llamada al sistema. A continuación, la función syscall real se ejecuta con el procesamiento del código de retorno (casos especiales para <literal>ERESTART</literal> y <literal>EJUSTRETURN</literal> errores). Finalmente un <literal>userret()</literal> está programado, cambiando el proceso de nuevo al ritmo de los usuarios. Los parámetros del controlador de llamada al sistema real se pasan en forma de<literal>struct thread *td</literal>, <literal>struct syscall args *</literal> argumentos donde el segundo parámetro es un puntero a la estructura de parámetros copiada."
    ],
    "id_hash": 5227933111013327093,
    "content_hash": 5227933111013327093,
    "location": "article.translate.xml:350",
    "context": "",
    "note": "(itstool) path: sect4/para",
    "flags": "",
    "labels": [],
    "state": 20,
    "fuzzy": false,
    "translated": true,
    "approved": false,
    "position": 61,
    "has_suggestion": false,
    "has_comment": false,
    "has_failing_check": false,
    "num_words": 145,
    "source_unit": "https://translate-dev.freebsd.org/api/units/99458/?format=api",
    "priority": 100,
    "id": 26326,
    "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/articles_linux-emulation/es/?checksum=c88d59773773c0f5",
    "url": "https://translate-dev.freebsd.org/api/units/26326/?format=api",
    "explanation": "",
    "extra_flags": "",
    "pending": false,
    "timestamp": "2019-10-20T12:10:38.733369Z"
}