---
name: "_set_error_mode"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/_set_error_mode"
---

# \_set\_error\_mode(3w)

## NAME

**\_set\_error\_mode** (MSVCRT.@)

## SYNOPSIS

int CDECL  \_set\_error\_mode\
  (\
   int *mode*\
  )

## DESCRIPTION

Set the error *mode*, which describes where the C run-time writes error messages.

## PARAMS

*mode* **-** the new error *mode*.

## RETURNS

The old error *mode*.

## IMPLEMENTATION

Declared in **"msvcrt/stdlib.h"**.

Implemented in **"dlls/msvcrt/exit.c"**.

Debug channel **"msvcrt"**.
